Skip to content

Commit

Permalink
feat(competitions): add hard-coded logo of Vernier teams
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsandoz committed Aug 28, 2023
1 parent 211ceac commit 455205e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions models/team.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ export default class Team extends Model {
slug = 'geneva_flames';
} else if (this.name.includes('Val-de-Ruz Flyers')) {
slug = 'val-de-ruz_flyers';
} else if (this.name.includes('Val-de-Ruz Black Kites')) {
slug = 'val-de-ruz_black_kites';
} else if (this.name.includes('La Chaux-de-Fonds Beehives')) {
slug = 'la_chaux-de-fonds_beehives';
} else if (this.name.includes('Nyon Lakers')) {
Expand All @@ -42,6 +44,10 @@ export default class Team extends Model {
slug = 'delemont_blizzard';
} else if (this.name.includes('Delémont Thunder')) {
slug = 'delemont_thunder';
} else if (this.name.includes('Vernier Turtles B')) {
slug = 'vernier_turtles_b';
} else if (this.name.includes('Vernier Turtles')) {
slug = 'vernier_turtles';
}

if (slug) {
Expand Down

0 comments on commit 455205e

Please sign in to comment.