diff --git a/package-lock.json b/package-lock.json index 97e273d82..35f2bb79a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.19.3", + "version": "1.19.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.19.3", + "version": "1.19.4", "hasInstallScript": true, "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index 8bbf34c38..14afc9e7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.19.3", + "version": "1.19.4", "description": "Supporting common component library", "type": "module", "main": "dist/index.js", diff --git a/src/Shared/Components/GenericModal/GenericModal.component.tsx b/src/Shared/Components/GenericModal/GenericModal.component.tsx index d4d3aafd7..3be60dab8 100644 --- a/src/Shared/Components/GenericModal/GenericModal.component.tsx +++ b/src/Shared/Components/GenericModal/GenericModal.component.tsx @@ -82,6 +82,7 @@ const GenericModal = ({ name, open, width = 600, + borderRadius = 8, onClose, onEscape = noop, closeOnBackdropClick = false, @@ -92,7 +93,7 @@ const GenericModal = ({
- {freemiumLimitReached ? ( -
- Multiple Clusters Detected - - Your account is connected to multiple clusters, which isn’t allowed on the freemium - plan. Upgrade to an Enterprise license or contact us. - -
- ) : ( - Unlimited single cluster usage - )} +
+ + {freemiumLimitReached ? 'Freemium Limit Reached' : 'What’s Included in Freemium'} + + + {freemiumLimitReached + ? 'You’ve connected more than 2 clusters, which isn’t supported on the freemium plan. Contact Support to unlock your access or upgrade to Enterprise plan.' + : 'Freemium plan allows managing the Devtron host cluster along with one additional cluster.'} + +
{freemiumLimitReached && ( - <> +
- +
)} )