mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Poprawki w nowym wyglądzie stacji
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user