Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Welscher <[email protected]>
  • Loading branch information
max-bergmann and Strohgelaender authored Oct 30, 2023
1 parent eeecfc8 commit 09ff1ad
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,12 @@ export class TutorialGroupFormComponent implements OnInit, OnChanges, OnDestroy
).subscribe((languages: string[]) => {
this.languages = languages;
// default values for English & German
if (!languages.includes('English')) this.languages.push('English');
if (!languages.includes('German')) this.languages.push('German');
if (!languages.includes('English')) {
this.languages.push('English');
}
if (!languages.includes('German')) {
this.languages.push('German');
}
});
}
}

0 comments on commit 09ff1ad

Please sign in to comment.