fixed create dir
This commit is contained in:
@@ -114,7 +114,7 @@ const FileBrowser: React.FC<RouteComponentProps> = (props) => {
|
||||
<div className="ml-auto">
|
||||
<CreateDirButton
|
||||
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}})
|
||||
refetchDir()
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user