fixed create dir

This commit is contained in:
Djeeberjr 2021-09-28 18:41:04 +02:00
parent 3e8fbb01bb
commit d4ff2d9480

View File

@ -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()
}}