Merge branch 'develop' of github.com:pterodactyl/panel into develop

This commit is contained in:
Dane Everitt 2021-05-16 12:35:52 -07:00
commit 1f64086c67
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 24 additions and 7 deletions

View file

@ -74,7 +74,18 @@ const MassActionsBar = () => {
onConfirmed={onClickConfirmDeletion}
onModalDismissed={() => setShowConfirm(false)}
>
Deleting files is a permanent operation, you cannot undo this action.
Are you sure you want to delete {selectedFiles.length} file(s)?
<br/>
Deleting the file(s) listed below is a permanent operation, you cannot undo this action.
<br/>
<code>
{ selectedFiles.slice(0, 15).map(file => (
<li key={file}>{file}<br/></li>))
}
{ selectedFiles.length > 15 &&
<li> + {selectedFiles.length - 15} other(s) </li>
}
</code>
</ConfirmationModal>
{showMove &&
<RenameFileModal