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
......@@ -226,7 +226,7 @@
valueError = null
break
}
const updatedSituation = setSituationVariableValue(
const situationChanged = setSituationVariableValue(
entityByKey,
situation,
variable,
......@@ -246,8 +246,7 @@
}
}
if (updatedSituation !== situation) {
situation = updatedSituation
if (situationChanged) {
requestAllTestCasesCalculations(situationIndex)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment