Sfoglia il codice sorgente

Set state notifyComment = ' ' in resetAllChanges() in AdminUserConatiner.js

ryuichi-e 6 anni fa
parent
commit
7f69c7faf6
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 5 1
      src/client/js/services/AdminUsersContainer.js

+ 5 - 1
src/client/js/services/AdminUsersContainer.js

@@ -116,7 +116,11 @@ export default class AdminUsersContainer extends Container {
 
   async resetAllChanges() {
     await this.setState({
-      sort: 'id', sortOrder: 'asc', searchText: '', selectedStatusList: new Set(['all']),
+      sort: 'id',
+      sortOrder: 'asc',
+      searchText: '',
+      notifyComment: '',
+      selectedStatusList: new Set(['all']),
     });
     this.retrieveUsersByPagingNum(1);
   }