fix for limit banner re-appearing
This commit is contained in:
parent
dd07f979f9
commit
75d8dd907f
|
@ -147,6 +147,9 @@ const buildUsersAboveLimitBanner = EXPIRY_KEY => {
|
||||||
return {
|
return {
|
||||||
key: EXPIRY_KEY,
|
key: EXPIRY_KEY,
|
||||||
type: BANNER_TYPES.WARNING,
|
type: BANNER_TYPES.WARNING,
|
||||||
|
onChange: () => {
|
||||||
|
defaultCacheFn(EXPIRY_KEY)
|
||||||
|
},
|
||||||
criteria: () => {
|
criteria: () => {
|
||||||
return userLicensing.warnUserLimit
|
return userLicensing.warnUserLimit
|
||||||
},
|
},
|
||||||
|
|
|
@ -261,7 +261,7 @@
|
||||||
header={`Users will soon be limited to ${staticUserLimit}`}
|
header={`Users will soon be limited to ${staticUserLimit}`}
|
||||||
message={`Our free plan is going to be limited to ${staticUserLimit} users in ${$licensing.userLimitDays}.
|
message={`Our free plan is going to be limited to ${staticUserLimit} users in ${$licensing.userLimitDays}.
|
||||||
|
|
||||||
This means any users exceeding the limit have been de-activated.
|
This means any users exceeding the limit will de-activated.
|
||||||
|
|
||||||
De-activated users will not able to access the builder or any published apps until you upgrade to one of our paid plans.
|
De-activated users will not able to access the builder or any published apps until you upgrade to one of our paid plans.
|
||||||
`}
|
`}
|
||||||
|
|
Loading…
Reference in New Issue