mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 22:05:19 +00:00
refac
This commit is contained in:
parent
96b1c2024b
commit
e7c501677c
2 changed files with 2 additions and 2 deletions
|
|
@ -190,7 +190,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
onDestroy(() => {
|
onDestroy(() => {
|
||||||
// $socket?.off('channel-events', channelEventHandler);
|
$socket?.off('channel-events', channelEventHandler);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -427,7 +427,7 @@
|
||||||
onDestroy(() => {
|
onDestroy(() => {
|
||||||
chatIdUnsubscriber?.();
|
chatIdUnsubscriber?.();
|
||||||
window.removeEventListener('message', onMessageHandler);
|
window.removeEventListener('message', onMessageHandler);
|
||||||
// $socket?.off('chat-events');
|
$socket?.off('chat-events', chatEventHandler);
|
||||||
});
|
});
|
||||||
|
|
||||||
// File upload functions
|
// File upload functions
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue