diff options
Diffstat (limited to 'client/src/app/videos/+video-watch/comment/video-comment.model.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/comment/video-comment.model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment.model.ts b/client/src/app/videos/+video-watch/comment/video-comment.model.ts index 719d1f04e..aaeb0ea9c 100644 --- a/client/src/app/videos/+video-watch/comment/video-comment.model.ts +++ b/client/src/app/videos/+video-watch/comment/video-comment.model.ts | |||
@@ -15,6 +15,7 @@ export class VideoComment implements VideoCommentServerModel { | |||
15 | deletedAt: Date | string | 15 | deletedAt: Date | string |
16 | isDeleted: boolean | 16 | isDeleted: boolean |
17 | account: AccountInterface | 17 | account: AccountInterface |
18 | totalRepliesFromVideoAuthor: number | ||
18 | totalReplies: number | 19 | totalReplies: number |
19 | by: string | 20 | by: string |
20 | accountAvatarUrl: string | 21 | accountAvatarUrl: string |
@@ -33,6 +34,7 @@ export class VideoComment implements VideoCommentServerModel { | |||
33 | this.deletedAt = hash.deletedAt ? new Date(hash.deletedAt.toString()) : null | 34 | this.deletedAt = hash.deletedAt ? new Date(hash.deletedAt.toString()) : null |
34 | this.isDeleted = hash.isDeleted | 35 | this.isDeleted = hash.isDeleted |
35 | this.account = hash.account | 36 | this.account = hash.account |
37 | this.totalRepliesFromVideoAuthor = hash.totalRepliesFromVideoAuthor | ||
36 | this.totalReplies = hash.totalReplies | 38 | this.totalReplies = hash.totalReplies |
37 | 39 | ||
38 | if (this.account) { | 40 | if (this.account) { |