fix(MediaManager): update folder creation path in load function
This commit is contained in:
parent
b2c3580e17
commit
08b84680a4
|
|
@ -824,7 +824,7 @@ export default function MediaManager({ initialPath = '/', rootPath, title, confi
|
|||
await createFolder(joinPath(path, name), true);
|
||||
toast.success(`Created folder "${name}"`);
|
||||
setShowNewFolder(false); setNewFolderName('');
|
||||
void load(path);
|
||||
void load(joinPath(path, name));
|
||||
} catch (e: any) { toast.error(`Failed to create folder: ${e?.message ?? e}`); }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user