Skip to content

Commit e3ac933

Browse files
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.
1 parent 48869d2 commit e3ac933

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

resources/scripts/components/server/backups/BackupContainer.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ export default () => {
3737
return (
3838
<PageContentBlock>
3939
<FlashMessageRender byKey={'backups'} className={'mb-4'}/>
40+
{featureLimits.backups >= 0 &&
41+
<p className="text-center text-md text-neutral-400">
42+
You are currently using {backups.length} of {featureLimits.backups} backups.
43+
</p>
44+
}
4045
{!backups.length ?
4146
<p className="text-center text-sm text-neutral-400">
4247
There are no backups stored for this server.

0 commit comments

Comments
 (0)