diff options
Diffstat (limited to 'client/src/app/shared/video-channel/video-channel.model.ts')
-rw-r--r-- | client/src/app/shared/video-channel/video-channel.model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/shared/video-channel/video-channel.model.ts b/client/src/app/shared/video-channel/video-channel.model.ts index b6862b681..309b614ae 100644 --- a/client/src/app/shared/video-channel/video-channel.model.ts +++ b/client/src/app/shared/video-channel/video-channel.model.ts | |||
@@ -7,6 +7,7 @@ export class VideoChannel extends Actor implements ServerVideoChannel { | |||
7 | description: string | 7 | description: string |
8 | support: string | 8 | support: string |
9 | isLocal: boolean | 9 | isLocal: boolean |
10 | nameWithHost: string | ||
10 | ownerAccount?: Account | 11 | ownerAccount?: Account |
11 | ownerBy?: string | 12 | ownerBy?: string |
12 | ownerAvatarUrl?: string | 13 | ownerAvatarUrl?: string |
@@ -18,6 +19,7 @@ export class VideoChannel extends Actor implements ServerVideoChannel { | |||
18 | this.description = hash.description | 19 | this.description = hash.description |
19 | this.support = hash.support | 20 | this.support = hash.support |
20 | this.isLocal = hash.isLocal | 21 | this.isLocal = hash.isLocal |
22 | this.nameWithHost = Actor.CREATE_BY_STRING(this.name, this.host) | ||
21 | 23 | ||
22 | if (hash.ownerAccount) { | 24 | if (hash.ownerAccount) { |
23 | this.ownerAccount = hash.ownerAccount | 25 | this.ownerAccount = hash.ownerAccount |