Merge branch 'develop' of https://github.com/Pterodactyl/Panel into develop
This commit is contained in:
commit
cca537d650
1 changed files with 3 additions and 1 deletions
|
@ -171,7 +171,9 @@ const FileDropdownMenu = ({ file }: { file: FileObject }) => {
|
||||||
<Row onClick={doArchive} icon={faFileArchive} title={'Archive'}/>
|
<Row onClick={doArchive} icon={faFileArchive} title={'Archive'}/>
|
||||||
</Can>
|
</Can>
|
||||||
}
|
}
|
||||||
<Row onClick={doDownload} icon={faFileDownload} title={'Download'}/>
|
{file.isFile &&
|
||||||
|
<Row onClick={doDownload} icon={faFileDownload} title={'Download'}/>
|
||||||
|
}
|
||||||
<Can action={'file.delete'}>
|
<Can action={'file.delete'}>
|
||||||
<Row onClick={() => setShowConfirmation(true)} icon={faTrashAlt} title={'Delete'} $danger/>
|
<Row onClick={() => setShowConfirmation(true)} icon={faTrashAlt} title={'Delete'} $danger/>
|
||||||
</Can>
|
</Can>
|
||||||
|
|
Loading…
Reference in a new issue