浏览代码

fix: pinned chat delete issue

Timothy J. Baek 10 月之前
父节点
当前提交
f6dcffab13
共有 1 个文件被更改,包括 1 次插入0 次删除
  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>