mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-02 21:08:12 +00:00
Poprawki
This commit is contained in:
@@ -23,6 +23,10 @@ pnpm-debug.log*
|
|||||||
node_modules
|
node_modules
|
||||||
|
|
||||||
.gitignore
|
.gitignore
|
||||||
|
|
||||||
|
#Firebase
|
||||||
.firebase
|
.firebase
|
||||||
|
.firebaserc
|
||||||
|
firebase.json
|
||||||
|
|
||||||
.env
|
.env
|
||||||
|
|||||||
+16
-1
@@ -5,9 +5,24 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
|
||||||
|
|
||||||
|
<title>Stacjownik</title>
|
||||||
|
|
||||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;700&display=swap" rel="stylesheet">
|
||||||
<title>Stacjownik</title>
|
|
||||||
|
<script src="https://www.gstatic.com/firebasejs/8.1.1/firebase-app.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const firebaseConfig = {
|
||||||
|
apiKey: "AIzaSyBI36X2-p7vU1flxoJdCEc0noByyTe1mpw",
|
||||||
|
authDomain: "stacjownik-td2.firebaseapp.com",
|
||||||
|
projectId: "stacjownik-td2",
|
||||||
|
};
|
||||||
|
|
||||||
|
firebase.initializeApp(firebaseConfig);
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -324,13 +324,11 @@ export default class TimetableView extends Vue {
|
|||||||
get stationInfo(): Station | null {
|
get stationInfo(): Station | null {
|
||||||
if (!this.$route.query.station) return null;
|
if (!this.$route.query.station) return null;
|
||||||
|
|
||||||
const info = this.stationList.find(
|
const station = this.stationList.find(
|
||||||
(station) =>
|
(station) => station.stationHash === this.$route.query.station
|
||||||
station.stationName ===
|
|
||||||
this.$route.query.station.toString().replaceAll("_", " ")
|
|
||||||
);
|
);
|
||||||
|
|
||||||
return info || null;
|
return station || null;
|
||||||
}
|
}
|
||||||
|
|
||||||
updateRows(info: Station | null = this.stationInfo) {
|
updateRows(info: Station | null = this.stationInfo) {
|
||||||
|
|||||||
Reference in New Issue
Block a user