mirror of
https://github.com/open-webui/open-webui
synced 2025-01-31 15:01:00 +00:00
refac
This commit is contained in:
parent
96b1c2024b
commit
e7c501677c
@ -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 New Issue
Block a user