From f22dccb3ac9cd562445bf88d8daa6a1726dedf0a Mon Sep 17 00:00:00 2001 From: jajjibhai008 Date: Thu, 31 Oct 2024 19:23:48 +0500 Subject: [PATCH] fix: vsf expired messaging issue --- src/components/expired-subscription-modal/index.jsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/expired-subscription-modal/index.jsx b/src/components/expired-subscription-modal/index.jsx index d37054eaa..86c38d5e5 100644 --- a/src/components/expired-subscription-modal/index.jsx +++ b/src/components/expired-subscription-modal/index.jsx @@ -8,7 +8,7 @@ const ExpiredSubscriptionModal = () => { const { data: { customerAgreement, subscriptionLicense, subscriptionPlan } } = useSubscriptions(); const [isOpen] = useToggle(true); const displaySubscriptionExpirationModal = ( - customerAgreement?.hasCustomLicenseExpirationMessaging + customerAgreement?.hasCustomLicenseExpirationMessagingV2 && subscriptionLicense && !subscriptionPlan.isCurrent ); @@ -18,13 +18,13 @@ const ExpiredSubscriptionModal = () => { return ( {customerAgreement.modalHeaderText}} + title={

{customerAgreement.modalHeaderTextV2}

} isOpen={isOpen} isBlocking footerNode={( - )} @@ -32,7 +32,7 @@ const ExpiredSubscriptionModal = () => { {/* eslint-disable-next-line react/no-danger */}