mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 17:27:40 +00:00
fix: update enterprise feature handling in popups
This commit is contained in:
@@ -203,7 +203,9 @@ export const PkiTemplateListPage = () => {
|
|||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
if (!subscription.pkiEst) {
|
if (!subscription.pkiEst) {
|
||||||
handlePopUpOpen("estUpgradePlan");
|
handlePopUpOpen("estUpgradePlan", {
|
||||||
|
isEnterpriseFeature: true
|
||||||
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
handlePopUpOpen("enrollmentOptions", {
|
handlePopUpOpen("enrollmentOptions", {
|
||||||
@@ -296,7 +298,7 @@ export const PkiTemplateListPage = () => {
|
|||||||
isOpen={popUp.estUpgradePlan.isOpen}
|
isOpen={popUp.estUpgradePlan.isOpen}
|
||||||
onOpenChange={(isOpen) => handlePopUpToggle("estUpgradePlan", isOpen)}
|
onOpenChange={(isOpen) => handlePopUpToggle("estUpgradePlan", isOpen)}
|
||||||
text="You can only configure template enrollment methods if you switch to Infisical's Enterprise plan."
|
text="You can only configure template enrollment methods if you switch to Infisical's Enterprise plan."
|
||||||
isEnterpriseFeature={true}
|
isEnterpriseFeature={popUp.estUpgradePlan.data?.isEnterpriseFeature}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
+1
-1
@@ -596,7 +596,7 @@ export const AccessApprovalRequest = ({
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<UpgradePlanModal
|
<UpgradePlanModal
|
||||||
text={""}
|
text={popUp.upgradePlan.data?.description}
|
||||||
isOpen={popUp.upgradePlan.isOpen}
|
isOpen={popUp.upgradePlan.isOpen}
|
||||||
onOpenChange={() => handlePopUpClose("upgradePlan")}
|
onOpenChange={() => handlePopUpClose("upgradePlan")}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user