Skip to content

Commit 1c6eedb

Browse files
committed
#558 typo
1 parent f7e681a commit 1c6eedb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

webapp/redux/middleware/middleware.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ export default (store) => (next) => (action) => {
348348
break;
349349
}
350350
case CREATE_SIMULATE_NETWORK: {
351-
351+
352352
checkParametersThen(() => simulateNetwork({ allTrials: false }))
353353

354354
break;
@@ -358,7 +358,7 @@ export default (store) => (next) => (action) => {
358358
next(GeppettoActions.activateWidget(EDIT_WIDGETS.experimentManager.id));
359359
}
360360

361-
checkParametersThen(() => simulateNetwork({ allTrials: action.payload, usePrevInst: (store.getState().generalState === Constants.MODEL_STATE.NOT_INSTANTIATED ? false : true) }))
361+
checkParametersThen(() => simulateNetwork({ allTrials: action.payload, usePrevInst: (store.getState().general.modelState !== Constants.MODEL_STATE.NOT_INSTANTIATED) }))
362362
break;
363363
}
364364
case PYTHON_CALL: {

0 commit comments

Comments
 (0)