mirror of
https://github.com/strapi/strapi.git
synced 2025-08-01 05:17:14 +00:00
Fix: Remove limits overlay if a user is at limit
This commit is contained in:
parent
c3e1892955
commit
2052b91a69
@ -158,7 +158,7 @@ export function ReviewWorkflowsListView() {
|
||||
if (!isLoading && !isLicenseLoading) {
|
||||
if (
|
||||
limits?.[CHARGEBEE_WORKFLOW_ENTITLEMENT_NAME] &&
|
||||
meta?.workflowCount >= parseInt(limits[CHARGEBEE_WORKFLOW_ENTITLEMENT_NAME], 10)
|
||||
meta?.workflowCount > parseInt(limits[CHARGEBEE_WORKFLOW_ENTITLEMENT_NAME], 10)
|
||||
) {
|
||||
setShowLimitModal(true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user