Handle new file rename/move API
This commit is contained in:
parent
2653321fc2
commit
121f163b81
3 changed files with 22 additions and 20 deletions
|
@ -117,7 +117,7 @@ export default ({ file }: { file: FileObject }) => {
|
|||
<div css={tw`p-3 hover:text-white`} onClick={onClick}>
|
||||
<FontAwesomeIcon icon={faEllipsisH}/>
|
||||
<RenameFileModal
|
||||
file={file}
|
||||
files={[ file.name ]}
|
||||
visible={!!modal}
|
||||
useMoveTerminology={modal === 'move'}
|
||||
onDismissed={() => setModal(null)}
|
||||
|
|
Reference in a new issue