diff options
Diffstat (limited to 'client/src/app/shared/account')
-rw-r--r-- | client/src/app/shared/account/account.model.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/shared/account/account.model.ts b/client/src/app/shared/account/account.model.ts index 5058e372f..42f2cfeaf 100644 --- a/client/src/app/shared/account/account.model.ts +++ b/client/src/app/shared/account/account.model.ts | |||
@@ -6,11 +6,14 @@ export class Account extends Actor implements ServerAccount { | |||
6 | description: string | 6 | description: string |
7 | nameWithHost: string | 7 | nameWithHost: string |
8 | 8 | ||
9 | userId?: number | ||
10 | |||
9 | constructor (hash: ServerAccount) { | 11 | constructor (hash: ServerAccount) { |
10 | super(hash) | 12 | super(hash) |
11 | 13 | ||
12 | this.displayName = hash.displayName | 14 | this.displayName = hash.displayName |
13 | this.description = hash.description | 15 | this.description = hash.description |
16 | this.userId = hash.userId | ||
14 | this.nameWithHost = Actor.CREATE_BY_STRING(this.name, this.host) | 17 | this.nameWithHost = Actor.CREATE_BY_STRING(this.name, this.host) |
15 | } | 18 | } |
16 | } | 19 | } |