Browse Source

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

fix: Chat rename not updating inside folders
Tim Jaeryang Baek 4 months ago
parent
commit
e065073bea
1 changed files with 2 additions and 0 deletions
  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);
 			currentChatPage.set(1);
 			await chats.set(await getChatList(localStorage.token, $currentChatPage));
 			await chats.set(await getChatList(localStorage.token, $currentChatPage));
 			await pinnedChats.set(await getPinnedChatList(localStorage.token));
 			await pinnedChats.set(await getPinnedChatList(localStorage.token));
+
+			dispatch('change');
 		}
 		}
 	};
 	};