mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 17:59:37 +02:00
Fix local video creator crash
This commit is contained in:
parent
abc6c2b7f4
commit
f84ac3ba41
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ export class LocalVideoCreator {
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
// Reset elements to reinsert them in the database
|
// Reset elements to reinsert them in the database
|
||||||
this.video.isNewRecord = true
|
this.video.isNewRecord = true
|
||||||
this.videoFile.isNewRecord = true
|
if (this.videoFile) this.videoFile.isNewRecord = true
|
||||||
|
|
||||||
for (const t of thumbnails) {
|
for (const t of thumbnails) {
|
||||||
t.isNewRecord = true
|
t.isNewRecord = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue