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

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'}>