change audio label, 0p > Audio

Changes the audio label in the Download modal.
pull/4214/head
kontrollanten 2021-07-09 12:56:41 +02:00 committed by Chocobozzz
parent bd873df064
commit 2a408c40a9
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ function videoFilesModelToFormattedJSON (
return {
resolution: {
id: videoFile.resolution,
label: videoFile.resolution + 'p'
label: videoFile.resolution === 0 ? 'Audio' : `${videoFile.resolution}p`
},
magnetUri: includeMagnet && videoFile.hasTorrent()