More descriptive error for when backup limit is 0 (#3244)

This commit is contained in:
Alex 2021-04-18 00:05:31 +03:00 committed by GitHub
parent eb582f51f1
commit 38be4c9e4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ const BackupContainer = () => {
</Pagination>
{backupLimit === 0 &&
<p css={tw`text-center text-sm text-neutral-300`}>
Backups cannot be created for this server.
Backups cannot be created for this server because the backup limit is set to 0.
</p>
}
<Can action={'backup.create'}>