ryuichi-e 6 tahun lalu
induk
melakukan
3c9ab4a51c
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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 });
       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);
     adminUsersContainer.handleClick(statusType);
   }
   }