From 179e82e00c660dffe0b74f6a3451620cdbf87597 Mon Sep 17 00:00:00 2001 From: dekzter Date: Tue, 8 Apr 2025 17:12:46 -0400 Subject: [PATCH] fetch channels when m3us are deleted --- frontend/src/api.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/api.js b/frontend/src/api.js index 1f0a3717..cd106eeb 100644 --- a/frontend/src/api.js +++ b/frontend/src/api.js @@ -568,6 +568,9 @@ export default class API { }); usePlaylistsStore.getState().removePlaylists([id]); + // @TODO: MIGHT need to optimize this later if someone has thousands of channels + // but I'm feeling laze right now + useChannelsStore.getState().fetchChannels(); } static async updatePlaylist(values) {