1
0
Fork 0
mirror of synced 2024-09-12 07:27:20 +12:00

fix for limit banner re-appearing

This commit is contained in:
Peter Clement 2023-05-04 11:00:04 +01:00
parent dd07f979f9
commit 75d8dd907f
2 changed files with 4 additions and 1 deletions

View file

@ -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
}, },

View file

@ -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.
`} `}