Skip to content

Commit

Permalink
Merge pull request #2222 from Amsterdam/improvement/remove-duplicate-…
Browse files Browse the repository at this point in the history
…owner

Removed owner from case details
  • Loading branch information
remyvdwereld authored Aug 30, 2023
2 parents 642ddb9 + 74d04e1 commit 4ff3b8a
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -51,7 +51,6 @@ const General: FC<Props> = ({ 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
Expand Down Expand Up @@ -85,8 +84,6 @@ const General: FC<Props> = ({ caseId }) => {
<Value>{ caseData?.subjects.map((subject: { name: string }) => subject.name).join(", ") }</Value>
</>
)}
<Label>Eigenaar</Label>
<Value sensitive value={ eigenaar } />
{ fraudPrediction && !hideFraudProbability(caseId, daySettings?.team_settings?.fraudprediction_pilot_enabled) && (
<>
<Label>Voorspelling (bèta)</Label>
Expand Down

0 comments on commit 4ff3b8a

Please sign in to comment.