mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-10 12:35:55 +02:00
refac
This commit is contained in:
@@ -612,10 +612,14 @@
|
||||
|
||||
if (event.chat_id === $chatId) {
|
||||
await tick();
|
||||
const type = event?.data?.type ?? null;
|
||||
if (type === 'chat:reload') {
|
||||
await loadChat();
|
||||
return;
|
||||
}
|
||||
let message = history.messages[event.message_id];
|
||||
|
||||
if (message) {
|
||||
const type = event?.data?.type ?? null;
|
||||
const data = event?.data?.data ?? null;
|
||||
|
||||
if (type === 'status') {
|
||||
|
||||
Reference in New Issue
Block a user