refac
This commit is contained in:
1 parent
f341971eae
commit
d5152e43d5
1 file changed
+2
-1
@@ -110,9 +110,10 @@
|
|||||||
if (res) {
|
if (res) {
|
||||||
tags.set(await getAllTags(localStorage.token));
|
tags.set(await getAllTags(localStorage.token));
|
||||||
if ($chatId === id) {
|
if ($chatId === id) {
|
||||||
|
await goto('/');
|
||||||
|
|
||||||
await chatId.set('');
|
await chatId.set('');
|
||||||
await tick();
|
await tick();
|
||||||
goto('/');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dispatch('change');
|
dispatch('change');
|
||||||
|
|||||||
Reference in new issue
Block a user