Parcourir la source

Fix support field when updating the video

Chocobozzz il y a 1 an
Parent
commit
7a0bcd6773
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      client/src/app/shared/shared-main/video/video-edit.model.ts

+ 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