Fix download modal crash

pull/6544/head
Chocobozzz 2024-08-06 14:30:18 +02:00
parent b5fd7881a0
commit 340d77b7c6
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ export class VideoGenerateDownloadComponent implements OnInit {
if (this.includeAudio) { if (this.includeAudio) {
const audio = this.findAudioFileOnly() const audio = this.findAudioFileOnly()
return file.size + (audio.size || 0) return file.size + (audio?.size || 0)
} }
return file.size return file.size