feat(MediaManager): replace folder creation navigation with direct path navigation
This commit is contained in:
parent
085df24ba7
commit
8bc34b3e52
|
|
@ -903,7 +903,7 @@ export default function MediaManager({ initialPath, rootPath, title, config, set
|
|||
await createFolder(joinPath(path, name), true);
|
||||
toast.success(`Created folder "${name}"`);
|
||||
setShowNewFolder(false); setNewFolderName('');
|
||||
void load(joinPath(path, name));
|
||||
navigateTo(joinPath(path, name));
|
||||
} catch (e: any) { toast.error(`Failed to create folder: ${e?.message ?? e}`); }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user