Client: Function renaming.
This commit is contained in:
parent
eac9a93a2d
commit
961ae16adc
@ -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,
|
||||
|
@ -271,7 +271,7 @@ class CurrentQuotasStore {
|
||||
);
|
||||
}
|
||||
|
||||
get showUserQuotaBar() {
|
||||
get showAlmostReachedUserTariffLimit() {
|
||||
return (
|
||||
this.addedManagersCount > 1 &&
|
||||
this.maxCountManagersByQuota - this.addedManagersCount <=
|
||||
|
Loading…
Reference in New Issue
Block a user