diff --git a/.gitignore b/.gitignore index 4a5557e..86f9d46 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,10 @@ pnpm-debug.log* node_modules .gitignore + +#Firebase .firebase +.firebaserc +firebase.json .env diff --git a/public/index.html b/public/index.html index 66d5885..1acce97 100644 --- a/public/index.html +++ b/public/index.html @@ -5,9 +5,24 @@ + + Stacjownik + - Stacjownik + + + + + diff --git a/src/views/TimetableView.vue b/src/views/TimetableView.vue index 9d8ea73..61f9487 100644 --- a/src/views/TimetableView.vue +++ b/src/views/TimetableView.vue @@ -324,13 +324,11 @@ export default class TimetableView extends Vue { get stationInfo(): Station | null { if (!this.$route.query.station) return null; - const info = this.stationList.find( - (station) => - station.stationName === - this.$route.query.station.toString().replaceAll("_", " ") + const station = this.stationList.find( + (station) => station.stationHash === this.$route.query.station ); - return info || null; + return station || null; } updateRows(info: Station | null = this.stationInfo) {