Просмотр исходного кода

clean code related to isUserGroupUserModalOpen variable

kaori 3 лет назад
Родитель
Сommit
188a31ba8e
1 измененных файлов с 0 добавлено и 21 удалено
  1. 0 21
      packages/app/src/client/services/AdminUserGroupDetailContainer.js

+ 0 - 21
packages/app/src/client/services/AdminUserGroupDetailContainer.js

@@ -36,7 +36,6 @@ export default class AdminUserGroupDetailContainer extends Container {
 
       childUserGroupRelations: [], // TODO 85062: fetch data on init (findRelationsByGroupIds) For child group list users
       // relatedPages: [], // For page list
-      // isUserGroupUserModalOpen: false,
       isAlsoMailSearched: false,
       isAlsoNameSearched: false,
     };
@@ -45,8 +44,6 @@ export default class AdminUserGroupDetailContainer extends Container {
 
     this.switchIsAlsoMailSearched = this.switchIsAlsoMailSearched.bind(this);
     this.switchIsAlsoNameSearched = this.switchIsAlsoNameSearched.bind(this);
-    // this.openUserGroupUserModal = this.openUserGroupUserModal.bind(this);
-    // this.closeUserGroupUserModal = this.closeUserGroupUserModal.bind(this);
   }
 
   /**
@@ -71,22 +68,4 @@ export default class AdminUserGroupDetailContainer extends Container {
     this.setState({ isAlsoNameSearched: !this.state.isAlsoNameSearched });
   }
 
-  // /**
-  //  * open a modal
-  //  *
-  //  * @memberOf AdminUserGroupDetailContainer
-  //  */
-  // async openUserGroupUserModal() {
-  //   await this.setState({ isUserGroupUserModalOpen: true });
-  // }
-
-  // /**
-  //  * close a modal
-  //  *
-  //  * @memberOf AdminUserGroupDetailContainer
-  //  */
-  // async closeUserGroupUserModal() {
-  //   await this.setState({ isUserGroupUserModalOpen: false });
-  // }
-
 }