mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-24 14:30:20 -05:00
chore: format
This commit is contained in:
1 parent
7de90426a0
commit
a26dda3eaf
1 file changed
+2
-1
@@ -2962,7 +2962,8 @@
|
||||
if (initialHistory.messages[id] !== message)
|
||||
chatContent.history.messages[id] = { ...chatContent.history.messages[id], ...message };
|
||||
}
|
||||
if (history.currentId !== initialHistory.currentId) chat.current_message_id = history.currentId;
|
||||
if (history.currentId !== initialHistory.currentId)
|
||||
chat.current_message_id = history.currentId;
|
||||
history = chatContent.history;
|
||||
if (chat?.current_message_id && history?.messages?.[chat.current_message_id]) {
|
||||
history.currentId = chat.current_message_id;
|
||||
|
||||
Reference in new issue
Block a user