diff --git a/src/pages/Cases/components/CasesCustomerName.tsx b/src/pages/Cases/components/CasesCustomerName.tsx index b84faebc..b114819e 100644 --- a/src/pages/Cases/components/CasesCustomerName.tsx +++ b/src/pages/Cases/components/CasesCustomerName.tsx @@ -16,7 +16,7 @@ const CasesCustomerName = (props: { data: AllCasesSummary }) => { const isSnoozed = props?.data?.status === CaseStatus.ON_HOLD; const userRole = useSelector((state: RootState) => state.common.userData?.roles); const hasVisibilityRole = userRole?.some(role => PAUSE_CASE_LH_VISIBILITY_ROLES.includes(role)); - const isRiskSegmentationVisibleOnPause = isSnoozed && !hasVisibilityRole; + const isRiskSegmentationVisibleOnPause = !(isSnoozed && !hasVisibilityRole); const barColor = isRiskSegmentationVisibleOnPause ? getRiskBarColor(riskSegment || '') : '';