浏览代码

Merge pull request #12689 from asncx/fix-folder-chat-rename

fix: Chat rename not updating inside folders
Tim Jaeryang Baek 3 月之前
父节点
当前提交
e065073bea
共有 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');
 		}
 	};