refac
This commit is contained in:
1 parent
4853ededca
commit
e61406c825
1 file changed
+3
-1
@@ -133,7 +133,9 @@
|
|||||||
await temporaryChatEnabled.set(!$temporaryChatEnabled);
|
await temporaryChatEnabled.set(!$temporaryChatEnabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
await goto('/');
|
if ($page.url.pathname !== '/') {
|
||||||
|
await goto('/');
|
||||||
|
}
|
||||||
|
|
||||||
// add 'temporary-chat=true' to the URL
|
// add 'temporary-chat=true' to the URL
|
||||||
if ($temporaryChatEnabled) {
|
if ($temporaryChatEnabled) {
|
||||||
|
|||||||
Reference in new issue
Block a user