Skip to content

Commit 9f8c032

Browse files
authored
Merge pull request #3747 from Ren-Roros-Digital/sponsor2
fix: hide duplicate sponsor field
2 parents b2a630e + d43edb2 commit 9f8c032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/CippFormPages/CippAddEditUser.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ const CippAddEditUser = (props) => {
269269
formControl={formControl}
270270
/>
271271
</Grid>
272-
{userSettingsDefaults?.userAttributes?.map((attribute, idx) => (
272+
{userSettingsDefaults?.userAttributes?.filter((attribute) => attribute.value !== "sponsor").map((attribute, idx) => (
273273
<Grid item xs={6} key={idx}>
274274
<CippFormComponent
275275
type="textField"

0 commit comments

Comments
 (0)