Fix modals stuck after web interface import

Fix the modals for adding new entries to instances, users, and roles not
being closable due to a missing bind of the close method.
This commit is contained in:
Hornwitser committed 2020-09-28 05:52:31 +02:00
1 parent bccc89fa0b
commit 86b8775df0
1 file changed
+1 -1
@@ -223,7 +223,7 @@ class DataTable extends Component {
</Col>
<Modal
visible={this.state.showEditModal}
onCancel={this.hideEditModal}
onCancel={this.hideEditModal.bind(this)}
footer={null}
title={
<h2>{this.state.inserting ? "Legg til" : "Rediger"}</h2>