mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
Poprawki w nowym wyglądzie stacji
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="scenery-view">
|
<div class="scenery-view">
|
||||||
<div class="scenery-offline" v-if="!stationInfo && dataStatus == 2">
|
<div
|
||||||
|
class="scenery-offline"
|
||||||
|
v-if="!stationInfo && dataStatus == 2 && currentPath === '/scenery'"
|
||||||
|
>
|
||||||
Ups! Nie znaleziono danej stacji bądź jest ona offline!
|
Ups! Nie znaleziono danej stacji bądź jest ona offline!
|
||||||
<button class="button">
|
<button class="button">
|
||||||
<a href="https://stacjownik-td2.web.app">Wróć na stronę główną</a>
|
<a href="https://stacjownik-td2.web.app">Wróć na stronę główną</a>
|
||||||
@@ -272,6 +275,10 @@ export default class SceneryView extends styleMixin {
|
|||||||
this.timetableOnly = this.$route.query['timetable_only'] == "1" ? true : false;
|
this.timetableOnly = this.$route.query['timetable_only'] == "1" ? true : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get currentPath() {
|
||||||
|
return this.$route.path;
|
||||||
|
}
|
||||||
|
|
||||||
get dataLoaded() {
|
get dataLoaded() {
|
||||||
return this.storeStationList ? true : false;
|
return this.storeStationList ? true : false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user