Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions fass-react/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ const App = () => {
let simulationInstanceId = getSimulationInstanceId();
if (simulationInstanceId) {
loadHouseholds(simulationInstanceId);
loadStores(simulationInstanceId);
}
}, [stepNumber]);

Expand Down
6 changes: 6 additions & 0 deletions fass-react/src/components/StepButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ const StepButton = ({updateStepNumber}) => {
throw new Error('Network response was not ok');
}
console.log(response.data);

// reset highlight state
window.storeMarkers?.forEach(marker => {
marker.isHighlighted = false;
});

updateStepNumber(getSimulationStep() + 1);
setLoading(false)
})
Expand Down