Explorar el Código

fix: pinned chat delete issue

Timothy J. Baek hace 10 meses
padre
commit
f6dcffab13
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/lib/components/layout/Sidebar.svelte

+ 1 - 0
src/lib/components/layout/Sidebar.svelte

@@ -186,6 +186,7 @@
 				goto('/');
 				goto('/');
 			}
 			}
 			await chats.set(await getChatList(localStorage.token));
 			await chats.set(await getChatList(localStorage.token));
+			await pinnedChats.set(await getChatListByTagName(localStorage.token, 'pinned'));
 		}
 		}
 	};
 	};
 </script>
 </script>