refac
This commit is contained in:
1 parent
1f91e5d3c6
commit
01f438c3fe
2 files changed
+3
-3
No files matched your search
@@ -117,9 +117,9 @@
|
||||
on:click={async () => {
|
||||
if (($settings?.temporaryChatByDefault ?? false) && $temporaryChatEnabled) {
|
||||
// for proper initNewChat handling
|
||||
temporaryChatEnabled.set(null);
|
||||
await temporaryChatEnabled.set(null);
|
||||
} else {
|
||||
temporaryChatEnabled.set(!$temporaryChatEnabled);
|
||||
await temporaryChatEnabled.set(!$temporaryChatEnabled);
|
||||
}
|
||||
|
||||
await goto('/');
|
||||
|
||||
Reference in new issue
Block a user