Skip to content

Commit 7fecfba

Browse files
authored
Merge pull request #1762 from IFRCGo/fix/nullable-type-of-assessment
Handle nullable `type_of_assessment_details`
2 parents 471e015 + 020c4b3 commit 7fecfba

File tree

1 file changed

+1
-1
lines changed
  • app/src/views/CountryNsOverviewCapacity

1 file changed

+1
-1
lines changed

app/src/views/CountryNsOverviewCapacity/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export function Component() {
150150
<>
151151
<TextOutput
152152
label={strings.perTypeOfAssessmentLabel}
153-
value={perProcess.type_of_assessment_details.name}
153+
value={perProcess.type_of_assessment_details?.name}
154154
/>
155155
<TextOutput
156156
label={strings.perFocalPointLabel}

0 commit comments

Comments
 (0)