From e3ac93359189b0cac74e3fc6508cc3f0a02ecb70 Mon Sep 17 00:00:00 2001 From: Charles Morgan Date: Tue, 2 Jun 2020 23:27:10 -0400 Subject: [PATCH] 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. --- .../scripts/components/server/backups/BackupContainer.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/scripts/components/server/backups/BackupContainer.tsx b/resources/scripts/components/server/backups/BackupContainer.tsx index 1d162493c..7a4b18d2f 100644 --- a/resources/scripts/components/server/backups/BackupContainer.tsx +++ b/resources/scripts/components/server/backups/BackupContainer.tsx @@ -37,6 +37,11 @@ export default () => { return ( + {featureLimits.backups >= 0 && +

+ You are currently using {backups.length} of {featureLimits.backups} backups. +

+ } {!backups.length ?

There are no backups stored for this server.