Use <router-link> instead of a @click handler in SceneryTimetable

This commit is contained in:
dominik-korsa
2024-08-21 13:29:53 +02:00
parent a818cd980b
commit 9837ae97e1
5 changed files with 19 additions and 21 deletions
+4
View File
@@ -1,3 +1,5 @@
import { RouteLocationRaw } from 'vue-router';
export type Availability = 'default' | 'unavailable' | 'nonPublic' | 'abandoned' | 'nonDefault';
export type ScenerySpawnType = 'passenger' | 'freight' | 'loco' | 'all';
@@ -70,6 +72,8 @@ export interface Train {
isTimeout: boolean;
isSupporter: boolean;
driverRouteLocation: RouteLocationRaw,
timetableData?: {
timetableId: number;
category: string;