diff --git a/resources/scripts/components/server/backups/BackupContainer.tsx b/resources/scripts/components/server/backups/BackupContainer.tsx index 7e719aab..1dbe3070 100644 --- a/resources/scripts/components/server/backups/BackupContainer.tsx +++ b/resources/scripts/components/server/backups/BackupContainer.tsx @@ -37,11 +37,6 @@ 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. @@ -61,6 +56,11 @@ export default () => {

} + {(featureLimits.backups > 0 && backups.length > 0) && +

+ {backups.length} of {featureLimits.backups} backups have been created for this server. +

+ } {featureLimits.backups > 0 && featureLimits.backups !== backups.length &&
diff --git a/resources/scripts/components/server/databases/DatabasesContainer.tsx b/resources/scripts/components/server/databases/DatabasesContainer.tsx index 77d498ee..9213347f 100644 --- a/resources/scripts/components/server/databases/DatabasesContainer.tsx +++ b/resources/scripts/components/server/databases/DatabasesContainer.tsx @@ -36,11 +36,6 @@ export default () => { return ( - {featureLimits.databases !== 0 && -

- You are currently using {databases.length} of {featureLimits.databases} databases. -

- } {(!databases.length && loading) ? : @@ -64,6 +59,11 @@ export default () => {

} + {(featureLimits.databases > 0 && databases.length > 0) && +

+ {databases.length} of {featureLimits.databases} databases have been allocated to this server. +

+ } {featureLimits.databases > 0 && featureLimits.databases !== databases.length &&