Procházet zdrojové kódy

remove unnecessary getters

Yuki Takei před 4 roky
rodič
revize
6df45e1800
1 změnil soubory, kde provedl 0 přidání a 14 odebrání
  1. 0 14
      packages/app/src/client/services/AppContainer.js

+ 0 - 14
packages/app/src/client/services/AppContainer.js

@@ -71,20 +71,6 @@ export default class AppContainer extends Container {
     window.crowiPlugin = window.growiPlugin;
   }
 
-  get currentUserId() {
-    if (this.currentUser == null) {
-      return null;
-    }
-    return this.currentUser._id;
-  }
-
-  get currentUsername() {
-    if (this.currentUser == null) {
-      return null;
-    }
-    return this.currentUser.username;
-  }
-
   getConfig() {
     return this.config;
   }