mirror of
https://github.com/strapi/strapi.git
synced 2025-08-02 05:48:39 +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 (!isLoading && !isLicenseLoading) {
|
||||||
if (
|
if (
|
||||||
limits?.[CHARGEBEE_WORKFLOW_ENTITLEMENT_NAME] &&
|
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);
|
setShowLimitModal(true);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user