fixed create dir
This commit is contained in:
parent
3e8fbb01bb
commit
d4ff2d9480
@ -114,7 +114,7 @@ const FileBrowser: React.FC<RouteComponentProps> = (props) => {
|
|||||||
<div className="ml-auto">
|
<div className="ml-auto">
|
||||||
<CreateDirButton
|
<CreateDirButton
|
||||||
onPressed={async (dirName)=>{
|
onPressed={async (dirName)=>{
|
||||||
const dirID = new ObjID(path.bucket,path.key + dirName)
|
const dirID = new ObjID(path.bucket,path.key + dirName + "/")
|
||||||
await createDirMutation({variables:{path: dirID}})
|
await createDirMutation({variables:{path: dirID}})
|
||||||
refetchDir()
|
refetchDir()
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user