Skip to content

Commit 4ab2ca0

Browse files
authored
Merge pull request #904 from IFRCGo/fix/remove-pii-local-units
Remove focal point details from local units
2 parents 2c52d50 + a5175f9 commit 4ab2ca0

File tree

2 files changed

+11
-39
lines changed
  • app/src/views
    • CountryNsOverviewContextAndStructure/NationalSocietyLocalUnitsMap
    • CountryPreparedness/PrivateCountryPreparedness

2 files changed

+11
-39
lines changed

app/src/views/CountryNsOverviewContextAndStructure/NationalSocietyLocalUnitsMap/index.tsx

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -368,32 +368,6 @@ function NationalSocietyLocalUnitsMap(props: Props) {
368368
value={selectedLocalUnitDetail.address_en
369369
?? selectedLocalUnitDetail.address_loc}
370370
/>
371-
<TextOutput
372-
className={styles.localUnitInfo}
373-
label={strings.localUnitDetailPhoneNumber}
374-
strongLabel
375-
value={selectedLocalUnitDetail.phone}
376-
/>
377-
<TextOutput
378-
className={styles.localUnitInfo}
379-
label={strings.localUnitDetailFocalPerson}
380-
strongLabel
381-
value={selectedLocalUnitDetail.focal_person_en
382-
?? selectedLocalUnitDetail.focal_person_loc}
383-
/>
384-
<TextOutput
385-
className={styles.localUnitInfo}
386-
label={strings.localUnitDetailEmail}
387-
strongLabel
388-
value={(
389-
<Link
390-
href={`mailto:${selectedLocalUnitDetail.email}`}
391-
external
392-
>
393-
{selectedLocalUnitDetail.email}
394-
</Link>
395-
)}
396-
/>
397371
</MapPopup>
398372
)}
399373
</BaseMap>

app/src/views/CountryPreparedness/PrivateCountryPreparedness/index.tsx

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -704,19 +704,17 @@ function PrivateCountryPreparedness() {
704704
: undefined
705705
)}
706706
>
707-
{(perDocuments && perDocuments?.length > 0) && (
708-
<Grid
709-
className={styles.perDocuments}
710-
data={perDocuments}
711-
pending={false}
712-
errored={isDefined(perDocumentsError)}
713-
filtered={false}
714-
keySelector={numericIdSelector}
715-
renderer={DocumentCard}
716-
rendererParams={rendererParams}
717-
numPreferredColumns={3}
718-
/>
719-
)}
707+
<Grid
708+
className={styles.perDocuments}
709+
data={perDocuments}
710+
pending={false}
711+
errored={isDefined(perDocumentsError)}
712+
filtered={false}
713+
keySelector={numericIdSelector}
714+
renderer={DocumentCard}
715+
rendererParams={rendererParams}
716+
numPreferredColumns={3}
717+
/>
720718
</Container>
721719
)}
722720
</Container>

0 commit comments

Comments
 (0)