This commit is contained in:
Timothy J. Baek 2024-08-16 15:15:06 +02:00
parent a529343b2b
commit 623aa08b9e

View File

@ -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;
}} }}
> >