fix create dir path

This commit is contained in:
Niklas 2021-08-24 14:51:08 +02:00
parent 2747a833dd
commit a716b4c8cd

View File

@ -117,7 +117,7 @@ const FileBrowser: React.FC = () => {
<div className="ml-auto">
<CreateDirButton
onPressed={async (dirName)=>{
await createDirMutation({variables:{path:dirName}})
await createDirMutation({variables:{path:path + dirName}})
refetchDir()
}}
/>