Skip to content

Commit 1ae8e0f

Browse files
authored
Merge pull request #2812 from objectcomputing/bugfix-2808/new-volunteer-event
Default the event organization to an empty string instead of Unknown.
2 parents ecd0886 + ac12385 commit 1ae8e0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-ui/src/components/volunteer/VolunteerEvents.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ const VolunteerEvents = ({ forceUpdate = () => {}, onlyMe = false }) => {
258258
<Autocomplete
259259
disableClearable
260260
getOptionLabel={(option) =>
261-
option === 'new' ? 'Create a New Organization' : (relationshipMap[option]?.organizationId && organizationMap[relationshipMap[option].organizationId]?.name) || 'Unknown'
261+
option === 'new' ? 'Create a New Organization' : (relationshipMap[option]?.organizationId && organizationMap[relationshipMap[option].organizationId]?.name) || ''
262262
}
263263
options={['new', ...relationships.filter((rel) => !rel.endDate).map((rel) => rel.id)]} // Use relationship IDs
264264
onChange={(event, value) => {

0 commit comments

Comments
 (0)