diff --git a/src/webapp/src/component/add-room-dialog/index.tsx b/src/webapp/src/component/add-room-dialog/index.tsx index c619c0f3..cd152957 100644 --- a/src/webapp/src/component/add-room-dialog/index.tsx +++ b/src/webapp/src/component/add-room-dialog/index.tsx @@ -37,6 +37,7 @@ class AddRoomDialog extends React.Component { this.setState({ visible: false, confirmLoading: false, + textView:'' }); this.props.refresh(); }) @@ -45,6 +46,7 @@ class AddRoomDialog extends React.Component { this.setState({ visible: false, confirmLoading: false, + textView:'' }); }) }; @@ -52,6 +54,7 @@ class AddRoomDialog extends React.Component { handleCancel = () => { this.setState({ visible: false, + textView:'' }); }; @@ -62,7 +65,7 @@ class AddRoomDialog extends React.Component { } render() { - const { visible, confirmLoading, ModalText } = this.state; + const { visible, confirmLoading, ModalText,textView } = this.state; return (
{ confirmLoading={confirmLoading} onCancel={this.handleCancel}>

{ModalText}

- +
);