diff --git a/frontend/src/components/LeftSideBar.jsx b/frontend/src/components/LeftSideBar.jsx index 8bc3b734..6ac9b46d 100644 --- a/frontend/src/components/LeftSideBar.jsx +++ b/frontend/src/components/LeftSideBar.jsx @@ -955,7 +955,7 @@ const LeftSideBar = ({ userdata, serverside, globalUrl, notifications, }) => { if (!fetched && org) { setActiveOrgData(org); if (!isCloud) { - if (org?.cloud_sync && org?.subscriptions[0]?.name?.toLowerCase().includes("enterprise") && org?.subscriptions[0]?.active) { + if (org?.cloud_sync && org?.subscriptions[0]?.name?.toLowerCase().includes("enterprise") && org?.subscriptions[0]?.active) { setIsProdStatusOn(true); } else if (org?.subscriptions[0]?.name?.toLowerCase().includes("enterprise") && org?.subscriptions[0]?.active) { setIsProdStatusOn(true); diff --git a/frontend/src/components/LicencePopup.jsx b/frontend/src/components/LicencePopup.jsx index 9cc63969..c052c7d1 100644 --- a/frontend/src/components/LicencePopup.jsx +++ b/frontend/src/components/LicencePopup.jsx @@ -1287,7 +1287,7 @@ const LicencePopup = (props) => { - { (!isCloud && selectedOrganization.cloud_sync) || isCloud && ( + { ((!isCloud && selectedOrganization.cloud_sync) || isCloud) && (