diff --git a/ui/package.json b/ui/package.json index b340b54e..7a52715e 100644 --- a/ui/package.json +++ b/ui/package.json @@ -4,7 +4,7 @@ "dependencies": { "@blueprintjs/core": "3.15.1", "@blueprintjs/datetime": "3.15.1", - "@reduxjs/toolkit": "^1.1.0", + "@reduxjs/toolkit": "1.1.0", "ansi-to-react": "5.1.0", "axios": "0.19.0", "cookie": "0.4.0", @@ -82,6 +82,6 @@ "enzyme-to-json": "3.3.5", "flush-promises": "1.0.2", "regenerator-runtime": "0.13.2", - "typescript": "3.4.5" + "typescript": "3.8.3" } } diff --git a/ui/src/components/TemplateExecutionForm.tsx b/ui/src/components/TemplateExecutionForm.tsx index 146733e3..e93814c9 100644 --- a/ui/src/components/TemplateExecutionForm.tsx +++ b/ui/src/components/TemplateExecutionForm.tsx @@ -259,7 +259,7 @@ const Connected: React.FunctionComponent = ({ if (ctx.data) { const initialValues: TemplateExecutionRequest = getInitialValuesForTemplateExecutionForm( ctx.data, - location.state + location.state as Run ) return (