Fix local video creator crash

This commit is contained in:
Chocobozzz 2024-04-05 08:29:23 +02:00
parent abc6c2b7f4
commit f84ac3ba41
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ export class LocalVideoCreator {
}).catch(err => {
// Reset elements to reinsert them in the database
this.video.isNewRecord = true
this.videoFile.isNewRecord = true
if (this.videoFile) this.videoFile.isNewRecord = true
for (const t of thumbnails) {
t.isNewRecord = true