diff options
Diffstat (limited to 'client/src/app/shared/shared-main/video/video.model.ts')
-rw-r--r-- | client/src/app/shared/shared-main/video/video.model.ts | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-main/video/video.model.ts b/client/src/app/shared/shared-main/video/video.model.ts index 10caec014..699eac7f1 100644 --- a/client/src/app/shared/shared-main/video/video.model.ts +++ b/client/src/app/shared/shared-main/video/video.model.ts | |||
@@ -65,8 +65,12 @@ export class Video implements VideoServerModel { | |||
65 | waitTranscoding?: boolean | 65 | waitTranscoding?: boolean |
66 | state?: VideoConstant<VideoState> | 66 | state?: VideoConstant<VideoState> |
67 | scheduledUpdate?: VideoScheduleUpdate | 67 | scheduledUpdate?: VideoScheduleUpdate |
68 | |||
68 | blacklisted?: boolean | 69 | blacklisted?: boolean |
69 | blockedReason?: string | 70 | blacklistedReason?: string |
71 | |||
72 | blockedOwner?: boolean | ||
73 | blockedServer?: boolean | ||
70 | 74 | ||
71 | account: { | 75 | account: { |
72 | id: number | 76 | id: number |
@@ -163,7 +167,10 @@ export class Video implements VideoServerModel { | |||
163 | if (this.state) this.state.label = peertubeTranslate(this.state.label, translations) | 167 | if (this.state) this.state.label = peertubeTranslate(this.state.label, translations) |
164 | 168 | ||
165 | this.blacklisted = hash.blacklisted | 169 | this.blacklisted = hash.blacklisted |
166 | this.blockedReason = hash.blacklistedReason | 170 | this.blacklistedReason = hash.blacklistedReason |
171 | |||
172 | this.blockedOwner = hash.blockedOwner | ||
173 | this.blockedServer = hash.blockedServer | ||
167 | 174 | ||
168 | this.userHistory = hash.userHistory | 175 | this.userHistory = hash.userHistory |
169 | 176 | ||