Skip to content

Commit

Permalink
Added conditional i tillegg check (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrir authored Jan 20, 2025
1 parent 4c2c4e4 commit 97ffc14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/form/ApplicationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ export const ApplicationForm = (props: Props) => {
["Ja", "ja"],
["Nei", "nei"],
]}
label={`Ønsker du å søke ${changeDisplayName(
committee
)} i tillegg?`}
label={`Ønsker du å søke ${changeDisplayName(committee)} ${
availableCommittees.length > 1 ? "i tillegg?" : "?"
}`}
updateInputValues={(value: string) =>
addOptionalCommittee(committee, value)
}
Expand Down

0 comments on commit 97ffc14

Please sign in to comment.