mirror of
https://github.com/open-webui/open-webui
synced 2025-06-23 02:16:52 +00:00
refac
This commit is contained in:
parent
7753f57d42
commit
f3deb8b8de
@ -492,10 +492,7 @@
|
|||||||
selectedChatId = null;
|
selectedChatId = null;
|
||||||
|
|
||||||
await temporaryChatEnabled.set(false);
|
await temporaryChatEnabled.set(false);
|
||||||
await goto('/');
|
|
||||||
const newChatButton = document.getElementById('new-chat-button');
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
newChatButton?.click();
|
|
||||||
if ($mobile) {
|
if ($mobile) {
|
||||||
showSidebar.set(false);
|
showSidebar.set(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user