mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
22af53f60c
commit
1f641ce1fb
1 changed files with 2 additions and 2 deletions
|
|
@ -116,8 +116,8 @@
|
||||||
autoScroll = true;
|
autoScroll = true;
|
||||||
await tick();
|
await tick();
|
||||||
|
|
||||||
if (messages.length > 0) {
|
if (messages.length > 0 && messages.at(-1)?.id && messages.at(-1)?.id in history.messages) {
|
||||||
history.messages[messages.at(-1).id].done = true;
|
history.messages[messages.at(-1)?.id].done = true;
|
||||||
}
|
}
|
||||||
await tick();
|
await tick();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue