Skip to content

Commit 71d8d77

Browse files
committed
fix: Perlenkette top tabs enum
Signed-off-by: Louis Greiner <[email protected]>
1 parent 419b9e4 commit 71d8d77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/perlenkette/perlenkette.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class PerlenketteComponent implements AfterContentChecked, OnDestroy {
6363

6464
public showTrainrunEditTab: ShowTrainrunEditTab = ShowTrainrunEditTab.sbb_trainrun_tab;
6565

66-
sbbToogleValue = "General";
66+
sbbToogleValue = "GENERAL";
6767

6868
constructor(
6969
private readonly loadPerlenketteService: LoadPerlenketteService,
@@ -120,11 +120,11 @@ export class PerlenketteComponent implements AfterContentChecked, OnDestroy {
120120
}
121121

122122
isSbbToogleRoundtrip() : boolean {
123-
return this.sbbToogleValue === "Roundtrip";
123+
return this.sbbToogleValue === "ROUND_TRIP";
124124
}
125125

126126
isSbbToogleGeneral() : boolean {
127-
return this.sbbToogleValue === "General";
127+
return this.sbbToogleValue === "GENERAL";
128128
}
129129

130130
showTrainrunEditor(): boolean {

0 commit comments

Comments
 (0)