Преглед изворни кода

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

ryuichi-e пре 6 година
родитељ
комит
7f69c7faf6
1 измењених фајлова са 5 додато и 1 уклоњено
  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);
   }