ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix playlist deletion
Chocobozzz60ea8f7a3112
diff --git a/client/src/app/shared/shared-video-playlist/video-playlist.service.ts b/client/src/app/shared/shared-video-playlist/video-playlist.service.tsindex cc3d04b9e2..5c7eed647d 100644--- a/client/src/app/shared/shared-video-playlist/video-playlist.service.ts+++ b/client/src/app/shared/shared-video-playlist/video-playlist.service.ts@@ -233,7 +233,11 @@ export class VideoPlaylistService {tap(() => {if (!videoId) return- this.videoExistsCache[videoId] = this.videoExistsCache[videoId].filter(e => e.playlistElementId !== playlistElementId)+ if (this.videoExistsCache[videoId]) {+ this.videoExistsCache[videoId] = this.videoExistsCache[videoId]+ .filter(e => e.playlistElementId !== playlistElementId)+ }+this.runPlaylistCheck(videoId)}),catchError(err => this.restExtractor.handleError(err))