Skip to content

Commit a476cb2

Browse files
committed
Polish labels
1 parent a8d7801 commit a476cb2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/scenes/Partners/Detail/Tabs/Profile/PartnerOrgReachAndTypeSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const PartnerOrgReachAndTypeSection = ({
6161
redacted={{ fieldDescription: `organizational types` }}
6262
/>
6363
<DisplaySecuredList
64-
title="Partner Reach"
64+
title="Reach"
6565
data={partner?.organization.value?.reach}
6666
labelBy={labelFrom(OrganizationReachLabels)}
6767
redacted={{

src/scenes/Partners/Edit/EditPartner.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ import {
88
CoerceNonPrimitives,
99
FinancialReportingTypeLabels,
1010
FinancialReportingTypeList,
11+
OrganizationReachLabels,
1112
OrganizationReachList,
13+
OrganizationTypeLabels,
1214
OrganizationTypeList,
1315
PartnerTypeList,
1416
UpdateOrganization,
@@ -115,15 +117,17 @@ const fieldMapping = {
115117
multiple
116118
label="Reach"
117119
options={OrganizationReachList}
120+
getLabel={labelFrom(OrganizationReachLabels)}
118121
layout="two-column"
119122
{...props}
120123
/>
121124
),
122125
'organization.types': ({ props }) => (
123126
<EnumField
124127
multiple
125-
label="Types"
128+
label="Organizational Types"
126129
options={OrganizationTypeList}
130+
getLabel={labelFrom(OrganizationTypeLabels)}
127131
layout="two-column"
128132
{...props}
129133
/>

0 commit comments

Comments
 (0)