yusuketk 7 лет назад
Родитель
Сommit
8f69f1ba4f
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/client/js/components/Page/TagLabel.jsx

+ 1 - 2
src/client/js/components/Page/TagLabel.jsx

@@ -46,8 +46,7 @@ class TagLabel extends React.Component {
 
   handleShowModal() {
     const isEditorMode = this.props.crowi.getCrowiForJquery().getCurrentEditorMode();
-    this.setState({ isEditorMode });
-    this.setState({ isOpenModal: true });
+    this.setState({ isOpenModal: true, isEditorMode });
   }
 
   async handleSubmit() {