From d845513dc8c996b3befbba3acdabf0ba1f3e0f0d Mon Sep 17 00:00:00 2001 From: monilprajapati Date: Fri, 10 Oct 2025 17:48:48 +0530 Subject: [PATCH] minor sync fix --- frontend/src/components/LeftSideBar.jsx | 2 +- frontend/src/components/LicencePopup.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) && (