]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/video/video-details.model.ts
Playlist reorder support
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / video-details.model.ts
index f44b4138b2b8375ebf0ea2531a8efbc374ed93ea..38835734363a6c5040d002a45fb1ee4f6df976ed 100644 (file)
@@ -14,6 +14,7 @@ export class VideoDetails extends Video implements VideoDetailsServerModel {
   files: VideoFile[]
   account: Account
   commentsEnabled: boolean
+  downloadEnabled: boolean
 
   waitTranscoding: boolean
   state: VideoConstant<VideoState>
@@ -35,6 +36,7 @@ export class VideoDetails extends Video implements VideoDetailsServerModel {
     this.tags = hash.tags
     this.support = hash.support
     this.commentsEnabled = hash.commentsEnabled
+    this.downloadEnabled = hash.downloadEnabled
 
     this.trackerUrls = hash.trackerUrls
     this.streamingPlaylists = hash.streamingPlaylists