Skip to content

Commit 391a9b6

Browse files
committed
netpyne-44 Fix issue with non reopening modal
1 parent 9d83db9 commit 391a9b6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

webapp/components/topbar/dialogs/ActionDialog.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,13 @@ class ActionDialog extends React.Component {
4646
}
4747
}
4848
}
49-
this.setState({ hide: true });
5049
if (this.props.onAction) {
5150
this.props.onAction();
5251
}
52+
this.setState({ hide: true });
53+
if (this.props.onRequestClose) {
54+
this.props.onRequestClose();
55+
}
5356
};
5457

5558
clearErrorDialogBox () {

0 commit comments

Comments
 (0)