mirror of
https://github.com/open-webui/open-webui
synced 2025-01-19 09:16:44 +00:00
refac
This commit is contained in:
parent
96b1c2024b
commit
e7c501677c
@ -190,7 +190,7 @@
|
||||
});
|
||||
|
||||
onDestroy(() => {
|
||||
// $socket?.off('channel-events', channelEventHandler);
|
||||
$socket?.off('channel-events', channelEventHandler);
|
||||
});
|
||||
</script>
|
||||
|
||||
|
@ -427,7 +427,7 @@
|
||||
onDestroy(() => {
|
||||
chatIdUnsubscriber?.();
|
||||
window.removeEventListener('message', onMessageHandler);
|
||||
// $socket?.off('chat-events');
|
||||
$socket?.off('chat-events', chatEventHandler);
|
||||
});
|
||||
|
||||
// File upload functions
|
||||
|
Loading…
Reference in New Issue
Block a user