From 9267d837efde26911dbe51f78d7496429b235cbe Mon Sep 17 00:00:00 2001 From: Sameer Rai Date: Wed, 13 Nov 2024 17:50:13 +0545 Subject: [PATCH] fix: show ICRC presence only for partner countries --- .../Presence/index.tsx | 78 ++++++++++--------- 1 file changed, 41 insertions(+), 37 deletions(-) diff --git a/app/src/views/CountryNsOverviewSupportingPartners/Presence/index.tsx b/app/src/views/CountryNsOverviewSupportingPartners/Presence/index.tsx index 20452cde1..afc4a1ac2 100644 --- a/app/src/views/CountryNsOverviewSupportingPartners/Presence/index.tsx +++ b/app/src/views/CountryNsOverviewSupportingPartners/Presence/index.tsx @@ -169,49 +169,53 @@ function Presence() { )} - + {strings.icrc} + + )} + /> + )} + withHeaderBorder + withInternalPadding + > + { + resolveToString( + strings.countryICRCConfirmedPartner, + { year }, + ) + } + {countryResponse.icrc_presence.key_operation && ( +
- {strings.icrc} + {strings.countryICRCKeyOperations} - )} - /> - )} - withHeaderBorder - withInternalPadding - > - {resolveToString( - strings.countryICRCConfirmedPartner, - { year }, - )} - {countryResponse?.icrc_presence?.key_operation && ( -
- - {strings.countryICRCKeyOperations} - - {resolveToString( - strings.countryICRCWithin, - { name: countryResponse?.name ?? '--' }, - )} -
- )} - + {resolveToString( + strings.countryICRCWithin, + { name: countryResponse.name ?? '--' }, + )} +
+ )} +
+ )} ); }