projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix search results on mobile
[oweals/peertube.git]
/
client
/
src
/
app
/
shared
/
video
/
video-edit.model.ts
diff --git
a/client/src/app/shared/video/video-edit.model.ts
b/client/src/app/shared/video/video-edit.model.ts
index 1f633d427a4d0e0d08077eb1837384bd713f5919..67d8e7711d550da06e9dae5a24b3ca98b964b058 100644
(file)
--- 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 {
const originallyPublishedAt = new Date(values['originallyPublishedAt'])
this.originallyPublishedAt = originallyPublishedAt.toISOString()
}
const originallyPublishedAt = new Date(values['originallyPublishedAt'])
this.originallyPublishedAt = originallyPublishedAt.toISOString()
}
+
+ // Use the same file than the preview for the thumbnail
+ if (this.previewfile) {
+ this.thumbnailfile = this.previewfile
+ }
}
toFormPatch () {
}
toFormPatch () {