Try to fix subscriptions inconsistencies
[oweals/peertube.git] / client / src / app / shared / video / video-details.model.ts
index c2a85d8e8bcc248d3526e6864acaa362d9774d2f..14347a109da8478747c0127e5c18262a616795ff 100644 (file)
@@ -58,5 +58,7 @@ export class VideoDetails extends Video implements VideoDetailsServerModel {
 
   getFiles () {
     if (this.files.length === 0) return this.getHlsPlaylist().files
+
+    return this.files
   }
 }