mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-26 19:48:02 +00:00
Fetch channel profiles on successful m3u refresh.
This commit is contained in:
parent
7313cafa1c
commit
491b0cea29
1 changed files with 2 additions and 0 deletions
|
|
@ -219,6 +219,7 @@ export const WebsocketProvider = ({ children }) => {
|
|||
|
||||
updatePlaylist(updateData);
|
||||
fetchPlaylists(); // Refresh playlists to ensure UI is up-to-date
|
||||
fetchChannelProfiles(); // Ensure channel profiles are updated
|
||||
} else {
|
||||
// Log when playlist can't be found for debugging purposes
|
||||
console.warn(
|
||||
|
|
@ -499,6 +500,7 @@ export const WebsocketProvider = ({ children }) => {
|
|||
const fetchEPGData = useEPGsStore((s) => s.fetchEPGData);
|
||||
const fetchEPGs = useEPGsStore((s) => s.fetchEPGs);
|
||||
const fetchLogos = useChannelsStore((s) => s.fetchLogos);
|
||||
const fetchChannelProfiles = useChannelsStore((s) => s.fetchChannelProfiles);
|
||||
|
||||
const ret = useMemo(() => {
|
||||
return [isReady, ws.current?.send.bind(ws.current), val];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue