From b8a841613b16b9a62dc94c38140eb63f9f12f47b Mon Sep 17 00:00:00 2001 From: David Wheatley Date: Sat, 28 Oct 2023 16:43:44 +0100 Subject: [PATCH] feat: add platform a/b --- src/announcement-data/systems/stations/KeTechPhil.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/announcement-data/systems/stations/KeTechPhil.ts b/src/announcement-data/systems/stations/KeTechPhil.ts index 00d993faa..e6190dd53 100644 --- a/src/announcement-data/systems/stations/KeTechPhil.ts +++ b/src/announcement-data/systems/stations/KeTechPhil.ts @@ -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', @@ -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: {