mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
Nawigacja
This commit is contained in:
@@ -136,11 +136,10 @@ export default defineComponent({
|
||||
|
||||
// Handle route updates for route-links
|
||||
beforeRouteUpdate(to, from) {
|
||||
const timetableId = to.query['timetableId']?.toString();
|
||||
const { timetableId, driverName } = to.query;
|
||||
|
||||
if (!timetableId) return;
|
||||
if (timetableId) this.searchersValues['search-train'] = `#${timetableId}`;
|
||||
|
||||
this.searchersValues['search-train'] = `#${timetableId}`;
|
||||
this.searchHistory();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user