Show file mode on file listing, add ability to change file mode
This commit is contained in:
parent
8611ebb2d6
commit
ed5613e207
9 changed files with 150 additions and 11 deletions
|
@ -64,7 +64,11 @@ const FileObjectRow = ({ file }: { file: FileObject }) => (
|
|||
>
|
||||
<SelectFileCheckbox name={file.name}/>
|
||||
<Clickable file={file}>
|
||||
<div css={tw`flex-none self-center text-neutral-400 mr-4 text-lg pl-3 ml-6`}>
|
||||
<div css={tw`w-24 ml-6 pl-3 hidden md:block`}>
|
||||
{file.mode}
|
||||
</div>
|
||||
|
||||
<div css={tw`flex-none self-center text-neutral-400 ml-6 md:ml-0 mr-4 text-lg pl-3`}>
|
||||
{file.isFile ?
|
||||
<FontAwesomeIcon icon={file.isSymlink ? faFileImport : file.isArchiveType() ? faFileArchive : faFileAlt}/>
|
||||
:
|
||||
|
|
Reference in a new issue