fix create dir path
This commit is contained in:
parent
2747a833dd
commit
a716b4c8cd
@ -117,7 +117,7 @@ const FileBrowser: React.FC = () => {
|
|||||||
<div className="ml-auto">
|
<div className="ml-auto">
|
||||||
<CreateDirButton
|
<CreateDirButton
|
||||||
onPressed={async (dirName)=>{
|
onPressed={async (dirName)=>{
|
||||||
await createDirMutation({variables:{path:dirName}})
|
await createDirMutation({variables:{path:path + dirName}})
|
||||||
refetchDir()
|
refetchDir()
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user