Skip to content

Commit 7c2fa0a

Browse files
committed
update contactId prop label
1 parent 7165ab2 commit 7c2fa0a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

components/lawmatics/lawmatics.app.mjs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,10 @@ export default {
1515
},
1616
});
1717
return data.map(({
18-
id: value, attributes: {
19-
firstName,
20-
lastName,
21-
email,
22-
},
18+
id: value, attributes: { email },
2319
}) => ({
2420
value,
25-
label: `${firstName} ${lastName} ${email}`.trim() || value,
21+
label: email,
2622
}));
2723
},
2824
},

0 commit comments

Comments
 (0)