]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-main/video/video-edit.model.ts
Don't manage remote video files
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-main / video / video-edit.model.ts
index ea04569421e883d52090ee569787c70a56be8bdc..3922ee42a9540f9f23ce23bc42bc278e6dd1587e 100644 (file)
@@ -20,11 +20,13 @@ export class VideoEdit implements VideoUpdate {
   previewfile?: any
   thumbnailUrl: string
   previewUrl: string
-  uuid?: string
-  id?: number
   scheduleUpdate?: VideoScheduleUpdate
   originallyPublishedAt?: Date | string
 
+  id?: number
+  uuid?: string
+  shortUUID?: string
+
   pluginData?: any
 
   constructor (
@@ -39,6 +41,7 @@ export class VideoEdit implements VideoUpdate {
     if (video) {
       this.id = video.id
       this.uuid = video.uuid
+      this.shortUUID = video.shortUUID
       this.category = video.category.id
       this.licence = video.licence.id
       this.language = video.language.id