Poprawki w nowym wyglądzie stacji

This commit is contained in:
2020-11-13 00:56:13 +01:00
parent 857de63f27
commit 0c52ba43c8
+8 -1
View File
@@ -1,6 +1,9 @@
<template>
<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!
<button class="button">
<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;
}
get currentPath() {
return this.$route.path;
}
get dataLoaded() {
return this.storeStationList ? true : false;
}