asncx 4 месяцев назад
Родитель
Сommit
87af2692e5
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/lib/components/layout/Sidebar/ChatItem.svelte

+ 2 - 0
src/lib/components/layout/Sidebar/ChatItem.svelte

@@ -83,6 +83,8 @@
 			currentChatPage.set(1);
 			await chats.set(await getChatList(localStorage.token, $currentChatPage));
 			await pinnedChats.set(await getPinnedChatList(localStorage.token));
+
+			dispatch('change');
 		}
 	};