refac/fix: refresh folder chat list
This commit is contained in:
1 parent
5148970ef5
commit
e29c262394
3 files changed
+15
-11
No files matched your search
@@ -85,6 +85,10 @@
|
||||
|
||||
let newFolderId = null;
|
||||
|
||||
$: if ($selectedFolder) {
|
||||
initFolders();
|
||||
}
|
||||
|
||||
const initFolders = async () => {
|
||||
const folderList = await getFolders(localStorage.token).catch((error) => {
|
||||
toast.error(`${error}`);
|
||||
|
||||
Reference in new issue
Block a user