Explorar o código

remove unnecessary getters

Yuki Takei %!s(int64=4) %!d(string=hai) anos
pai
achega
6df45e1800
Modificáronse 1 ficheiros con 0 adicións e 14 borrados
  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;
   }