diff --git a/pages/portal/[id]/schedule.js b/pages/portal/[id]/schedule.js index 06449cf6..6405657f 100644 --- a/pages/portal/[id]/schedule.js +++ b/pages/portal/[id]/schedule.js @@ -230,9 +230,6 @@ export default ({ hackathons }) => { { label: 'minievents', }, - { - label: 'notices', - }, ]} label="Type" value={newEvent.type} @@ -338,9 +335,6 @@ export default ({ hackathons }) => { { label: 'minievents', }, - { - label: 'notices', - }, ]} label="Type" value={eventEditing.type} diff --git a/utility/utilities.js b/utility/utilities.js index 19dfe7ea..b03404b8 100644 --- a/utility/utilities.js +++ b/utility/utilities.js @@ -123,6 +123,11 @@ export const filterHackerInfoFields = (obj, collection) => { obj.basicInfo?.culturalBackground, obj.basicInfo?.otherCulturalBackground || '' ) + newObj.engagementSource = createStringFromSelection( + obj.questionnaire?.engagementSource, + obj.questionnaire?.otherEngagementSource || '' + ) + newObj.gender = createStringFromSelection(obj.basicInfo?.gender, obj.basicInfo?.otherGender || '') newObj.race = createStringFromSelection(obj.basicInfo?.race, obj.basicInfo?.otherRace || '') newObj.MLHCodeOfConduct = obj.termsAndConditions?.MLHCodeOfConduct newObj.MLHPrivacyPolicy = obj.termsAndConditions?.MLHPrivacyPolicy