mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-20 16:51:10 +00:00
Fetch channels after successful creation of channels.
This commit is contained in:
parent
301a162e71
commit
7866eed613
1 changed files with 2 additions and 0 deletions
|
|
@ -560,6 +560,7 @@ export const WebsocketProvider = ({ children }) => {
|
|||
|
||||
// Refresh the channels table to show new channels
|
||||
try {
|
||||
await API.requeryChannels();
|
||||
await useChannelsStore.getState().fetchChannels();
|
||||
console.log('Channels refreshed after bulk creation');
|
||||
} catch (error) {
|
||||
|
|
@ -620,6 +621,7 @@ export const WebsocketProvider = ({ children }) => {
|
|||
|
||||
// Refresh channels
|
||||
try {
|
||||
await API.requeryChannels();
|
||||
await useChannelsStore.getState().fetchChannels();
|
||||
console.log(
|
||||
'Channels refreshed after bulk creation completion'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue