File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
app/src/views/DrefApplicationExport Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " go-web-app " : patch
3+ ---
4+
5+ Fix other action section visibility condition in DREF export
Original file line number Diff line number Diff line change @@ -336,11 +336,10 @@ export function Component() {
336336 const majorCoordinationMechanismDefined = isDefined (
337337 drefResponse ?. major_coordination_mechanism ?. trim ( ) ,
338338 ) ;
339- const showOtherActorsActionsSection = ( governmentRequestedAssistanceDefined
340- && isDefined ( drefResponse )
341- && drefResponse ?. type_of_dref !== DREF_TYPE_IMMINENT )
339+ const showOtherActorsActionsSection = drefResponse ?. type_of_dref !== DREF_TYPE_IMMINENT
342340 && (
343- nationalAuthoritiesDefined
341+ governmentRequestedAssistanceDefined
342+ || nationalAuthoritiesDefined
344343 || unOrOtherActorDefined
345344 || majorCoordinationMechanismDefined
346345 ) ;
You can’t perform that action at this time.
0 commit comments