Add using x of x when limit > 0
Added a using x of x so the end user knows how many they have and are using.
This commit is contained in:
parent
48869d2eda
commit
e3ac933591
1 changed files with 5 additions and 0 deletions
|
@ -37,6 +37,11 @@ export default () => {
|
|||
return (
|
||||
<PageContentBlock>
|
||||
<FlashMessageRender byKey={'backups'} className={'mb-4'}/>
|
||||
{featureLimits.backups >= 0 &&
|
||||
<p className="text-center text-md text-neutral-400">
|
||||
You are currently using {backups.length} of {featureLimits.backups} backups.
|
||||
</p>
|
||||
}
|
||||
{!backups.length ?
|
||||
<p className="text-center text-sm text-neutral-400">
|
||||
There are no backups stored for this server.
|
||||
|
|
Loading…
Reference in a new issue