Skip to content

Commit

Permalink
Merge pull request #304 from DHI/scenarios-jobquery
Browse files Browse the repository at this point in the history
fix field typo
  • Loading branch information
FranzThomsen1089 authored May 27, 2022
2 parents e59bd9b + 611dab8 commit 5e353a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-components/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.6.84",
"version": "0.6.85",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ const Scenarios = (props: ScenariosProps) => {
}

const updateScenario = latestScenarios.current.map((scenario) =>
scenario.fullName === job.Parameters[jobQueryItemKey] && scenario.lastJob.status !== 'Completed'
scenario.fullName === job.parameters && job.parameters[jobQueryItemKey] && scenario.lastJob.status !== 'Completed'
? {
...scenario,
lastJob: {
Expand Down

0 comments on commit 5e353a0

Please sign in to comment.