Selaa lähdekoodia

fix: pinned chat delete issue

Timothy J. Baek 10 kuukautta sitten
vanhempi
commit
f6dcffab13
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/lib/components/layout/Sidebar.svelte

+ 1 - 0
src/lib/components/layout/Sidebar.svelte

@@ -186,6 +186,7 @@
 				goto('/');
 			}
 			await chats.set(await getChatList(localStorage.token));
+			await pinnedChats.set(await getChatListByTagName(localStorage.token, 'pinned'));
 		}
 	};
 </script>