Explorar o código

change comment to jsdocs

ryuichi-e %!s(int64=6) %!d(string=hai) anos
pai
achega
1b94ca9737
Modificáronse 1 ficheiros con 9 adicións e 3 borrados
  1. 9 3
      src/client/js/services/AdminUsersContainer.js

+ 9 - 3
src/client/js/services/AdminUsersContainer.js

@@ -46,7 +46,9 @@ export default class AdminUsersContainer extends Container {
     this.setState({ notifyComment });
   }
 
-  // status
+  /**
+   * Workaround for status list
+   */
   isSelected(statusType) {
     return this.state.selectedStatusList.has(statusType);
   }
@@ -87,7 +89,9 @@ export default class AdminUsersContainer extends Container {
     this.retrieveUsersByPagingNum(1);
   }
 
-  // Input Serch Text
+  /**
+   * Workaround for Increment Search Text Input
+   */
   async handleChangeSearchText(searchText) {
     await this.setState({ searchText });
     this.retrieveUsersByPagingNum(1);
@@ -98,7 +102,9 @@ export default class AdminUsersContainer extends Container {
     this.retrieveUsersByPagingNum(1);
   }
 
-  // sorting
+  /**
+   * Workaround for Sorting
+   */
   async onClickSortAsc(sort) {
     await this.setState({ sort });
     await this.setState({ sortOrder: 'asc' });