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
a529343b2b
commit
623aa08b9e
1 changed files with 4 additions and 0 deletions
|
|
@ -528,6 +528,10 @@
|
|||
on:click={async () => {
|
||||
temporaryChatEnabled.set(!$temporaryChatEnabled);
|
||||
await goto('/');
|
||||
const newChatButton = document.getElementById('new-chat-button');
|
||||
setTimeout(() => {
|
||||
newChatButton?.click();
|
||||
}, 0);
|
||||
show = false;
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in a new issue