Skip to content

Commit 17fbc13

Browse files
authored
fix: fixed select not working on ContactModal (#1190)
1 parent d2d15f4 commit 17fbc13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/admin/ContactModal.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ class ContactModal extends React.Component {
263263
<Select
264264
label='Organisaatio'
265265
placeholder='Organisaatio'
266-
onChange={(selected) => this.onContactChange('organization', selected)}
266+
onChange={(selected) => this.onContactChange('organization', selected[0].value)}
267267
options={organizations.map((org) => ({
268268
label: `${org.name} ${org.external_organization ? '*' : ''}`,
269269
value: org.name,

0 commit comments

Comments
 (0)