Skip to content

Commit

Permalink
Merge pull request #154 from partio-scout/bugfix/familycamp-mapping
Browse files Browse the repository at this point in the history
Removed 2nd condition from familycamp mapping
  • Loading branch information
pompost authored Jul 20, 2016
2 parents da58def + c6401b1 commit 819edb6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/kuksa-integration/rebuild-tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ function rebuildParticipantsTable() {
function getSubCamp(participant) {
if (participant.accommodation === 'Perheleirissä') {
return 'Riehu';
} else if (getSelectionForGroup(participant, 'Osallistun seuraavan ikäkauden ohjelmaan:') === 'perheleirin ohjelmaan (0-11v.), muistathan merkitä lisätiedot osallistumisesta \"vain perheleirin osallistujille\" -osuuteen.') {
return 'Riehu';
}
return _.get(participant, 'subCamp.name') || 'Muu';
}
Expand Down

0 comments on commit 819edb6

Please sign in to comment.