Browse Source

fix: pinned chat delete issue

Timothy J. Baek 10 months ago
parent
commit
f6dcffab13
1 changed files with 1 additions and 0 deletions
  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>