diff options
Diffstat (limited to 'frontend/src/pages/App.js')
| -rw-r--r-- | frontend/src/pages/App.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/pages/App.js b/frontend/src/pages/App.js index 3034f7ff..89d1fa32 100644 --- a/frontend/src/pages/App.js +++ b/frontend/src/pages/App.js @@ -92,12 +92,12 @@ class AppComponent extends React.Component { const mapStateToProps = (state) => { let simulationName = undefined - if (state.currentSimulationId !== -1 && state.objects.simulation[state.currentSimulationId]) { + if (state.currentSimulationId !== '-1' && state.objects.simulation[state.currentSimulationId]) { simulationName = state.objects.simulation[state.currentSimulationId].name } return { - topologyIsLoading: state.currentTopologyId === -1, + topologyIsLoading: state.currentTopologyId === '-1', simulationName, } } |
