Explorar el Código

changed the explanation

白石誠 hace 5 años
padre
commit
97e8694a27
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      src/client/js/services/PageContainer.js

+ 3 - 2
src/client/js/services/PageContainer.js

@@ -222,7 +222,7 @@ export default class PageContainer extends Container {
    * whether to Empty Trash Page
    * whether to Empty Trash Page
    * not displayed when guest user and not on trash page
    * not displayed when guest user and not on trash page
    */
    */
-  get isAbleToShowEmptyButton() {
+  get isAbleToShowEmptyTrashButton() {
     const { currentUser } = this.appContainer;
     const { currentUser } = this.appContainer;
     const { path, hasChildren } = this.state;
     const { path, hasChildren } = this.state;
 
 
@@ -230,7 +230,8 @@ export default class PageContainer extends Container {
   }
   }
 
 
   /**
   /**
-   * whether to Empty Trash Page Management
+   * whether to display trash management button
+   * ex.) undo, delete completly
    * not displayed when guest user
    * not displayed when guest user
    */
    */
   get isAbleToShowTrashPageManagementButtons() {
   get isAbleToShowTrashPageManagementButtons() {