aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video/video-edit.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-05-17 10:45:53 +0200
committerChocobozzz <me@florianbigard.com>2019-05-17 10:45:53 +0200
commit7b992a86b107fc2917b993127df8e95a66ae94db (patch)
treeebbd6ded7c855a233a917786e2a15d763de86338 /client/src/app/shared/video/video-edit.model.ts
parent536598cfafab1c5e24e881db1c528489f804fb6b (diff)
downloadPeerTube-7b992a86b107fc2917b993127df8e95a66ae94db.tar.gz
PeerTube-7b992a86b107fc2917b993127df8e95a66ae94db.tar.zst
PeerTube-7b992a86b107fc2917b993127df8e95a66ae94db.zip
Support audio upload in client
Diffstat (limited to 'client/src/app/shared/video/video-edit.model.ts')
-rw-r--r--client/src/app/shared/video/video-edit.model.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/shared/video/video-edit.model.ts b/client/src/app/shared/video/video-edit.model.ts
index 1f633d427..67d8e7711 100644
--- a/client/src/app/shared/video/video-edit.model.ts
+++ b/client/src/app/shared/video/video-edit.model.ts
@@ -85,6 +85,11 @@ export class VideoEdit implements VideoUpdate {
85 const originallyPublishedAt = new Date(values['originallyPublishedAt']) 85 const originallyPublishedAt = new Date(values['originallyPublishedAt'])
86 this.originallyPublishedAt = originallyPublishedAt.toISOString() 86 this.originallyPublishedAt = originallyPublishedAt.toISOString()
87 } 87 }
88
89 // Use the same file than the preview for the thumbnail
90 if (this.previewfile) {
91 this.thumbnailfile = this.previewfile
92 }
88 } 93 }
89 94
90 toFormPatch () { 95 toFormPatch () {