Skip to content
Snippets Groups Projects
Commit aaf9944f authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Fix use of setSituationVariableValue (that now returns a boolean)

parent ce73f890
No related branches found
No related tags found
No related merge requests found
Pipeline #18308 passed
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,7 @@
valueError = null valueError = null
break break
} }
const updatedSituation = setSituationVariableValue( const situationChanged = setSituationVariableValue(
entityByKey, entityByKey,
situation, situation,
variable, variable,
...@@ -246,8 +246,7 @@ ...@@ -246,8 +246,7 @@
} }
} }
if (updatedSituation !== situation) { if (situationChanged) {
situation = updatedSituation
requestAllTestCasesCalculations(situationIndex) requestAllTestCasesCalculations(situationIndex)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment