Skip to content

Commit

Permalink
front: fix path step not updated in debug mode
Browse files Browse the repository at this point in the history
Signed-off-by: nncluzu <[email protected]>
  • Loading branch information
kmer2016 committed Jan 23, 2025
1 parent 23a21ce commit ab7986f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion front/src/applications/stdcm/views/StdcmView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ const StdcmView = () => {
}, [selectedSimulation]);

useEffect(() => {
if (!isDebugMode) {
if (isDebugMode) {
setShowBtnToLaunchSimulation(true);
} else {
setShowBtnToLaunchSimulation(!isEqual(currentSimulationInputs, selectedSimulation?.inputs));
}
}, [currentSimulationInputs]);
Expand Down

0 comments on commit ab7986f

Please sign in to comment.