diff --git a/src/App.scss b/src/App.scss index 218ee02..6c84526 100644 --- a/src/App.scss +++ b/src/App.scss @@ -3,18 +3,6 @@ @import "./styles/global.scss"; @import "./styles/scenery_status.scss"; -:root { - --clr-primary: #ffc014; - --clr-secondary: #2f2f2f; - - --clr-bg: #333; - - --clr-accent: #1085b3; - --clr-accent2: #ff3d5d; - - --clr-skr: #ff5100; - --clr-twr: #ffbb00; -} // VUE ROUTE CHANGE ANIMATION .view-anim { diff --git a/src/components/TrainsView/TrainTable.vue b/src/components/TrainsView/TrainTable.vue index 3f8d2d3..05ba2d8 100644 --- a/src/components/TrainsView/TrainTable.vue +++ b/src/components/TrainsView/TrainTable.vue @@ -21,10 +21,10 @@ v-for="(train, i) in computedTrains" :key="i" :ref=" - train.timetableData && - ((el) => { + (el) => { + if (!train.timetableData) return; elList[train.timetableData.timetableId] = el; - }) + } " >
@@ -259,7 +259,7 @@ export default defineComponent({ setup(props) { const store = useStore(); - const elList: Ref