Skip to content

Commit 3106e68

Browse files
authored
Merge pull request #1095 from IFRCGo/fix/remove-source
Remove source in presence of partner of country page
2 parents 8cd88ac + 478ab69 commit 3106e68

File tree

2 files changed

+26
-17
lines changed

2 files changed

+26
-17
lines changed

.changeset/beige-zoos-flow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"go-web-app": patch
3+
---
4+
5+
Hide contact information from IFRC Presence

app/src/views/CountryNsOverviewSupportingPartners/Presence/index.tsx

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const legalStatusLink = 'https://fednet.ifrc.org/en/support/legal/legal/legal-st
2727

2828
interface DelegationInformationProps {
2929
name: string | null | undefined;
30-
contact: string | null | undefined;
30+
// contact: string | null | undefined;
3131
delegationOfficeType: string;
3232
address: string;
3333
}
@@ -40,7 +40,7 @@ const countryDelegationKeySelector = (countryDelegation: CountryDelgation) => (
4040
function DelegationInformation(props: DelegationInformationProps) {
4141
const {
4242
name,
43-
contact,
43+
// contact,
4444
delegationOfficeType,
4545
address,
4646
} = props;
@@ -57,11 +57,14 @@ function DelegationInformation(props: DelegationInformationProps) {
5757
value={name}
5858
strongValue
5959
/>
60+
{/* NOTE: Hide it for now, not sure if we can publish or not */}
61+
{/*
6062
<TextOutput
6163
label={strings.countryIFRCContact}
6264
value={contact}
6365
strongValue
6466
/>
67+
*/}
6568
<TextOutput
6669
label={strings.countryIFRCDelegationType}
6770
value={delegationOfficeType}
@@ -110,21 +113,22 @@ function Presence() {
110113
<Container
111114
className={styles.presenceCard}
112115
heading={strings.countryIFRCPresenceTitle}
113-
footerActions={(
114-
<TextOutput
115-
label={strings.source}
116-
value={(
117-
<Link
118-
variant="tertiary"
119-
href="https://data.ifrc.org/fdrs/ifrc-secretariat/"
120-
external
121-
withUnderline
122-
>
123-
{strings.fdrs}
124-
</Link>
125-
)}
126-
/>
127-
)}
116+
// NOTE: Hide it for now, not sure if we can publish or not
117+
// footerActions={(
118+
// <TextOutput
119+
// label={strings.source}
120+
// value={(
121+
// <Link
122+
// variant="tertiary"
123+
// href="https://data.ifrc.org/fdrs/ifrc-secretariat/"
124+
// external
125+
// withUnderline
126+
// >
127+
// {strings.fdrs}
128+
// </Link>
129+
// )}
130+
// />
131+
// )}
128132
withHeaderBorder
129133
withInternalPadding
130134
childrenContainerClassName={styles.content}

0 commit comments

Comments
 (0)