refac
This commit is contained in:
1 parent
a40f6f2860
commit
736e38338e
2 files changed
+7
-3
No files matched your search
@@ -113,10 +113,10 @@
|
||||
folder={$selectedFolder}
|
||||
readOnly={folderReadOnly}
|
||||
onUpdate={async () => {
|
||||
await Promise.all([refreshChatList(localStorage.token), refreshFolderChatLists()]);
|
||||
await Promise.all([refreshChatList(localStorage.token), refreshFolderChatLists(null)]);
|
||||
}}
|
||||
onDelete={async () => {
|
||||
await Promise.all([refreshChatList(localStorage.token), refreshFolderChatLists()]);
|
||||
await Promise.all([refreshChatList(localStorage.token), refreshFolderChatLists(null)]);
|
||||
|
||||
selectedFolder.set(null);
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user