Client: Function renaming.

This commit is contained in:
Tatiana Lopaeva 2024-08-13 11:06:28 +03:00
parent eac9a93a2d
commit 961ae16adc
2 changed files with 6 additions and 6 deletions

View File

@ -69,7 +69,7 @@ const Bar = (props) => {
showRoomQuotaBar,
showStorageQuotaBar,
showUserQuotaBar,
showAlmostReachedUserTariffLimit,
currentColorScheme,
@ -283,7 +283,7 @@ const Bar = (props) => {
};
}
if (
showUserQuotaBar &&
showAlmostReachedUserTariffLimit &&
showStorageQuotaBar &&
barVisible.storageAndUserQuota
) {
@ -316,7 +316,7 @@ const Bar = (props) => {
};
}
if (showUserQuotaBar && barVisible.userQuota) {
if (showAlmostReachedUserTariffLimit && barVisible.userQuota) {
return {
type: QuotaBarTypes.UserQuota,
maxValue: maxCountManagersByQuota,
@ -402,7 +402,7 @@ export default inject(
showRoomQuotaBar,
showStorageQuotaBar,
showUserQuotaBar,
showAlmostReachedUserTariffLimit,
showUserPersonalQuotaBar,
tenantCustomQuota,
showTenantCustomQuotaBar,
@ -431,7 +431,7 @@ export default inject(
showRoomQuotaBar,
showStorageQuotaBar,
showUserQuotaBar,
showAlmostReachedUserTariffLimit,
currentColorScheme,
setMainBarVisible,

View File

@ -271,7 +271,7 @@ class CurrentQuotasStore {
);
}
get showUserQuotaBar() {
get showAlmostReachedUserTariffLimit() {
return (
this.addedManagersCount > 1 &&
this.maxCountManagersByQuota - this.addedManagersCount <=