Browse Source

Fix support field when updating the video

Chocobozzz 1 năm trước cách đây
mục cha
commit
7a0bcd6773

+ 3 - 0
client/src/app/shared/shared-main/video/video-edit.model.ts

@@ -47,6 +47,9 @@ export class VideoEdit implements VideoUpdate {
     this.waitTranscoding = video.waitTranscoding
     this.channelId = video.channel.id
     this.privacy = video.privacy.id
+
+    this.support = video.support
+
     this.commentsEnabled = video.commentsEnabled
     this.downloadEnabled = video.downloadEnabled