Skip to content

Commit

Permalink
Use correct types
Browse files Browse the repository at this point in the history
  • Loading branch information
oddsson committed Oct 11, 2024
1 parent aa96f55 commit a3439ff
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ import {
Text,
} from '@island.is/island-ui/core'
import * as constants from '@island.is/judicial-system/consts'
import { isTrafficViolationCase } from '@island.is/judicial-system/types'
import {
AdvocateType,
isTrafficViolationCase,
} from '@island.is/judicial-system/types'
import { core, titles } from '@island.is/judicial-system-web/messages'
import {
BlueBox,
Expand Down Expand Up @@ -596,8 +599,8 @@ const Processing: FC = () => {
clientId={civilClaimant.id}
advocateType={
civilClaimant.spokespersonIsLawyer
? 'defender'
: 'legal_rights_protector'
? AdvocateType.LAWYER
: AdvocateType.LEGAL_RIGHTS_PROTECTOR
}
disabled={
civilClaimant.spokespersonIsLawyer === null ||
Expand Down

0 comments on commit a3439ff

Please sign in to comment.