mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-21 01:05:30 +00:00
fetch channels when m3us are deleted
This commit is contained in:
parent
d3992d8ac9
commit
179e82e00c
1 changed files with 3 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue