mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
029625ec4e
commit
6bd2bc5683
1 changed files with 3 additions and 0 deletions
|
|
@ -462,6 +462,9 @@
|
|||
|
||||
$socket?.on('chat-events', chatEventHandler);
|
||||
$socket?.on('channel-events', channelEventHandler);
|
||||
} else {
|
||||
$socket?.off('chat-events', chatEventHandler);
|
||||
$socket?.off('channel-events', channelEventHandler);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue