mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 00:13:12 +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>
|
</Col>
|
||||||
<Modal
|
<Modal
|
||||||
visible={this.state.showEditModal}
|
visible={this.state.showEditModal}
|
||||||
onCancel={this.hideEditModal}
|
onCancel={this.hideEditModal.bind(this)}
|
||||||
footer={null}
|
footer={null}
|
||||||
title={
|
title={
|
||||||
<h2>{this.state.inserting ? "Legg til" : "Rediger"}</h2>
|
<h2>{this.state.inserting ? "Legg til" : "Rediger"}</h2>
|
||||||
|
|||||||
Reference in new issue
Block a user