Skip to content

Commit

Permalink
feat: add platform a/b
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Oct 28, 2023
1 parent 398ec3b commit b8a8416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/announcement-data/systems/stations/KeTechPhil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ export default class KeTechPhil extends StationAnnouncementSystem {
await this.playAudioFiles(files, download)
}

private platforms = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].flatMap(x => [`${x}`, `${x}a`, `${x}b`, `${x}c`, `${x}d`])
private platforms = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].flatMap(x => [`${x}`, `${x}a`, `${x}b`, `${x}c`, `${x}d`]).concat(['a', 'b'])
private stations = [
'AAP',
'AAT',
Expand Down Expand Up @@ -3124,7 +3124,7 @@ export default class KeTechPhil extends StationAnnouncementSystem {
platform: {
name: 'Platform',
default: this.platforms[0],
options: this.platforms.map(p => ({ title: `Platform ${p}`, value: p })),
options: this.platforms.map(p => ({ title: `Platform ${p.toUpperCase()}`, value: p })),
type: 'select',
},
hour: {
Expand Down

0 comments on commit b8a8416

Please sign in to comment.