mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
nowe pobieranie i przetwarzanie statusów dyżurnych
This commit is contained in:
@@ -134,7 +134,9 @@ export default defineComponent({
|
||||
|
||||
onlineSceneryInfo() {
|
||||
return this.store.onlineSceneryList.find(
|
||||
(scenery) => scenery.name === this.station?.toString().replace(/_/g, ' ')
|
||||
(scenery) =>
|
||||
scenery.name === this.station?.toString().replace(/_/g, ' ') &&
|
||||
scenery.region == this.store.region.id
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
@@ -70,7 +70,7 @@ export default defineComponent({
|
||||
|
||||
const computedTrains: ComputedRef<Train[]> = computed(() => {
|
||||
return filteredTrainList(
|
||||
store.trainList,
|
||||
store.trainList.filter((train) => train.region == store.region.id),
|
||||
searchedTrain.value,
|
||||
searchedDriver.value,
|
||||
sorterActive,
|
||||
@@ -83,7 +83,6 @@ export default defineComponent({
|
||||
|
||||
currentOptionsActive.value =
|
||||
sT.length > 0 || sD.length > 0 || sA.id != 'routeDistance' || areFiltersActive;
|
||||
console.log(sA.id);
|
||||
});
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user