mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
Poprawki optymalizacyjne (1.3.3)
This commit is contained in:
@@ -1850,9 +1850,9 @@
|
||||
},
|
||||
{
|
||||
"stationName": "Sroka",
|
||||
"stationURL": "https://td2.info.pl/w-trakcie-prac/podg-sroka/",
|
||||
"stationURL": "https://td2.info.pl/scenerie/sroka-projekt-1001/",
|
||||
"stationLines": "",
|
||||
"reqLevel": "8",
|
||||
"reqLevel": "7",
|
||||
"supportersOnly": "NIE",
|
||||
"signalType": "współczesna",
|
||||
"controlType": "SCS",
|
||||
@@ -1870,7 +1870,6 @@
|
||||
},
|
||||
"default": false,
|
||||
"nonPublic": false,
|
||||
"unavailable": true,
|
||||
"subStations": ["Sroka, podg.", "Sroka Południe, podg."],
|
||||
"stops": ["Sroka, podg."]
|
||||
},
|
||||
|
||||
+6
-8
@@ -3,8 +3,6 @@ import VueRouter, { RouteConfig } from 'vue-router';
|
||||
|
||||
import StationsView from '../views/StationsView.vue';
|
||||
import TrainsView from '../views/TrainsView.vue';
|
||||
import TimetableView from '../views/TimetableView.vue';
|
||||
import SceneryView from '../views/SceneryView.vue';
|
||||
|
||||
Vue.use(VueRouter);
|
||||
|
||||
@@ -23,15 +21,15 @@ const routes: Array<RouteConfig> = [
|
||||
{
|
||||
path: '/timetable',
|
||||
name: 'TimetableView',
|
||||
component: TimetableView,
|
||||
props: true
|
||||
component: () => import('@/views/TimetableView.vue'),
|
||||
props: true,
|
||||
},
|
||||
{
|
||||
path: '/scenery',
|
||||
name: "SceneryView",
|
||||
component: SceneryView,
|
||||
props: true
|
||||
}
|
||||
name: 'SceneryView',
|
||||
component: () => import('@/views/SceneryView.vue'),
|
||||
props: true,
|
||||
},
|
||||
];
|
||||
|
||||
const router = new VueRouter({
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
import * as firebase from "firebase/app";
|
||||
import "firebase/firestore";
|
||||
import "firebase/functions";
|
||||
|
||||
require("dotenv").config();
|
||||
|
||||
firebase.initializeApp({
|
||||
apiKey: process.env.API_KEY,
|
||||
authDomain: "stacjownik-td2.firebaseapp.com",
|
||||
databaseURL: "https://stacjownik-td2.firebaseio.com",
|
||||
projectId: "stacjownik-td2",
|
||||
});
|
||||
|
||||
export default {
|
||||
db: firebase.firestore(),
|
||||
functions: firebase.functions(),
|
||||
};
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="stations_view" ref="view">
|
||||
<div class="stations_view">
|
||||
<div class="stations_wrapper">
|
||||
<div class="stations_body">
|
||||
<div class="body_bar">
|
||||
@@ -35,7 +35,6 @@
|
||||
:sorterActive="sorterActive"
|
||||
:setFocusedStation="setFocusedStation"
|
||||
:changeSorter="changeSorter"
|
||||
ref="table"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -140,8 +139,6 @@ export default class StationsView extends Vue {
|
||||
this.focusedStationName = "";
|
||||
}
|
||||
});
|
||||
|
||||
console.log((this.$refs.table as Vue).$el.clientWidth);
|
||||
}
|
||||
|
||||
toggleCardsState(name: string): void {
|
||||
|
||||
Reference in New Issue
Block a user