ryuichi-e 6 лет назад
Родитель
Сommit
3c9ab4a51c
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/client/js/components/Admin/UserManagement.jsx

+ 2 - 2
src/client/js/components/Admin/UserManagement.jsx

@@ -51,8 +51,8 @@ class UserManagement extends React.Component {
       return this.setState({ isNotifyCommentShow: true });
     }
 
-    if (adminUsersContainer.state.isNotifyCommentShow === true) {
-      await adminUsersContainer.setState({ isNotifyCommentShow: false });
+    if (this.state.isNotifyCommentShow) {
+      await this.setState({ isNotifyCommentShow: false });
     }
     adminUsersContainer.handleClick(statusType);
   }