fetch channels when m3us are deleted

This commit is contained in:
dekzter 2025-04-08 17:12:46 -04:00
parent d3992d8ac9
commit 179e82e00c

View file

@ -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) {