forked from Alex/Pterodactyl-Panel
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
@ -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 New Issue
Block a user