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">
 | 
			
		||||
						<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()
 | 
			
		||||
							}}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user