瀏覽代碼

fix: folder chat rename

asncx 4 月之前
父節點
當前提交
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');
 		}
 	};