mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-12-01 21:09:17 -06:00
change audio label, 0p > Audio
Changes the audio label in the Download modal.
This commit is contained in:
parent
bd873df064
commit
2a408c40a9
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user