mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +09:00
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:
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>
|
||||
|
||||
Reference in new issue
Block a user