1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Add ability to list and delete original file

In admin
This commit is contained in:
Chocobozzz 2024-03-26 14:05:19 +01:00
parent 058ef6912c
commit a159b8b517
No known key found for this signature in database
GPG key ID: 583A612D890159BE
21 changed files with 295 additions and 45 deletions

View file

@ -117,7 +117,9 @@ export class VideoSourceModel extends SequelizeModel<VideoSourceModel> {
resolution: {
id: this.resolution,
label: getResolutionLabel(this.resolution)
label: this.resolution !== null
? getResolutionLabel(this.resolution)
: null
},
size: this.size,