Skip to content

Commit

Permalink
It seems my correction got removed by the previous PR when merging. A…
Browse files Browse the repository at this point in the history
…dding back my fix. (#840)
  • Loading branch information
dr-bizz authored Aug 18, 2023
1 parent 5a12dd5 commit f376cc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/scripts/controllers/eventDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,14 @@ angular
});
return {
id: existingChild ? existingChild.id : uuid(),
name: t.name,
childRegistrantTypeId: t.id,
numberOfChildRegistrants: existingChild
? existingChild.numberOfChildRegistrants
: 0,
selected:
existingChild !== undefined &&
existingChild.selected !== false,
};
},
);
Expand Down

0 comments on commit f376cc2

Please sign in to comment.