From 2217bcde002d10a9cf36a310decc3f576cc07b8f Mon Sep 17 00:00:00 2001 From: remyvdwereld <86827854+remyvdwereld@users.noreply.github.com> Date: Wed, 30 Aug 2023 18:09:45 +0200 Subject: [PATCH 1/2] Removed owner from case details --- .../cases/components/organisms/CaseDetail/sections/General.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/features/cases/components/organisms/CaseDetail/sections/General.tsx b/src/app/features/cases/components/organisms/CaseDetail/sections/General.tsx index ed7be6a86..d0f6a1707 100644 --- a/src/app/features/cases/components/organisms/CaseDetail/sections/General.tsx +++ b/src/app/features/cases/components/organisms/CaseDetail/sections/General.tsx @@ -85,8 +85,6 @@ const General: FC = ({ caseId }) => { { caseData?.subjects.map((subject: { name: string }) => subject.name).join(", ") } )} - - { fraudPrediction && !hideFraudProbability(caseId, daySettings?.team_settings?.fraudprediction_pilot_enabled) && ( <> From 74d04e11f26b0c16dbfd31d1da36c91dea6bd248 Mon Sep 17 00:00:00 2001 From: remyvdwereld <86827854+remyvdwereld@users.noreply.github.com> Date: Wed, 30 Aug 2023 18:44:08 +0200 Subject: [PATCH 2/2] Removed unused import --- .../cases/components/organisms/CaseDetail/sections/General.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/features/cases/components/organisms/CaseDetail/sections/General.tsx b/src/app/features/cases/components/organisms/CaseDetail/sections/General.tsx index d0f6a1707..de212742a 100644 --- a/src/app/features/cases/components/organisms/CaseDetail/sections/General.tsx +++ b/src/app/features/cases/components/organisms/CaseDetail/sections/General.tsx @@ -14,7 +14,7 @@ import FraudPredictionDetailsModal from "app/features/cases/components/organisms import { useFraudPredictionModal } from "app/features/cases/components/organisms/FraudPrediction/hooks/useFraudPredictionModal" import { hideFraudProbability } from "app/features/shared/utils/fraudPredictionPilot" -import { getAddress, getEigenaar } from "../utils" +import { getAddress } from "../utils" import { StyledAnchor, Grid, @@ -51,7 +51,6 @@ const General: FC = ({ caseId }) => { const address = getAddress(caseData.address) const postalCode = caseData.address.postal_code - const eigenaar = getEigenaar(caseData) const hasPriority = (caseData.schedules && caseData.schedules[0]?.priority?.weight >= 0.5) ?? false const hasWarrant = (caseData.schedules && caseData.schedules[0]?.priority?.weight >= 1.0) ?? false