diff options
Diffstat (limited to 'frontend/src/pages/Experiments.js')
| -rw-r--r-- | frontend/src/pages/Experiments.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/pages/Experiments.js b/frontend/src/pages/Experiments.js index 97e63f44..43bd15be 100644 --- a/frontend/src/pages/Experiments.js +++ b/frontend/src/pages/Experiments.js @@ -44,7 +44,7 @@ class ExperimentsComponent 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 } |
