Skip to content

Commit

Permalink
Merge pull request #302 from nwplus/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
DonaldKLee authored Jan 9, 2025
2 parents 62488ee + 0915f9b commit 4f783ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pages/portal/[id]/schedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,6 @@ export default ({ hackathons }) => {
{
label: 'minievents',
},
{
label: 'notices',
},
]}
label="Type"
value={newEvent.type}
Expand Down Expand Up @@ -338,9 +335,6 @@ export default ({ hackathons }) => {
{
label: 'minievents',
},
{
label: 'notices',
},
]}
label="Type"
value={eventEditing.type}
Expand Down
5 changes: 5 additions & 0 deletions utility/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f783ce

Please sign in to comment.