From fbdcd4ec9f549b730f8311512bcc0c0b7bc2db0a Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Thu, 15 Apr 2021 10:01:27 +0200 Subject: Add AccountAvatarComponent (#3965) * refactor(client): create account-avatar component * continue implement account-avatar * fix review comments --- client/src/app/core/users/user.model.ts | 6 ------ 1 file changed, 6 deletions(-) (limited to 'client/src/app/core') 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 { } } - get accountAvatarUrl () { - if (!this.account) return '' - - return this.account.avatarUrl - } - hasRight (right: UserRight) { return hasUserRight(this.role, right) } -- cgit v1.2.3