Web: Fixed banner.

This commit is contained in:
Tatiana Lopaeva 2024-02-19 10:50:07 +03:00
parent 4fd89f13a6
commit d5c23e31d4

View File

@ -221,7 +221,8 @@ class CurrentQuotasStore {
get showTenantCustomQuotaBar() {
if (!this.isTenantCustomQuotaSet || this.tenantCustomQuota === undefined)
return false;
if (!this.tenantCustomQuota) return false;
if (+this.tenantCustomQuota === -1) return false;
return (
(this.usedTotalStorageSizeCount / this.tenantCustomQuota) * 100 >=