This commit is contained in:
Timothy Jaeryang Baek
2026-07-15 23:27:58 -04:00
parent ee000c503c
commit f67252b5e8
3 changed files with 52 additions and 32 deletions
+1 -2
View File
@@ -712,8 +712,6 @@ ${content}
: null;
if (chat?.id) {
noteChatId = chat.id;
noteChatDraftKey = '';
noteChats = chats ?? [chat, ...noteChats.filter((item) => item.id !== chat.id)];
showNoteChat = true;
}
@@ -1440,6 +1438,7 @@ ${content}
onSelectEmbeddedChat={(chatId) => {
if (!chatId || chatId === noteChatId) return;
noteChatId = chatId;
noteChatDraftKey = '';
}}
onDeleteEmbeddedChat={deleteNoteChat}
onEmbeddedChatTitle={(chatId, title) => {