mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 14:55:23 +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 () => {
|
on:click={async () => {
|
||||||
temporaryChatEnabled.set(!$temporaryChatEnabled);
|
temporaryChatEnabled.set(!$temporaryChatEnabled);
|
||||||
await goto('/');
|
await goto('/');
|
||||||
|
const newChatButton = document.getElementById('new-chat-button');
|
||||||
|
setTimeout(() => {
|
||||||
|
newChatButton?.click();
|
||||||
|
}, 0);
|
||||||
show = false;
|
show = false;
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue