aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/users/user.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/core/users/user.model.ts')
-rw-r--r--client/src/app/core/users/user.model.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/client/src/app/core/users/user.model.ts b/client/src/app/core/users/user.model.ts
index 8aaaa238d..7d03e1c40 100644
--- a/client/src/app/core/users/user.model.ts
+++ b/client/src/app/core/users/user.model.ts
@@ -111,12 +111,6 @@ export class User implements UserServerModel {
111 } 111 }
112 } 112 }
113 113
114 get accountAvatarUrl () {
115 if (!this.account) return ''
116
117 return this.account.avatarUrl
118 }
119
120 hasRight (right: UserRight) { 114 hasRight (right: UserRight) {
121 return hasUserRight(this.role, right) 115 return hasUserRight(this.role, right)
122 } 116 }