mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-04 22:08:12 +00:00
Cleanup c.d.
This commit is contained in:
@@ -31,7 +31,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import { defineComponent, PropType } from 'vue';
|
import { defineComponent, PropType } from 'vue';
|
||||||
import dateMixin from '../../mixins/dateMixin';
|
import dateMixin from '../../mixins/dateMixin';
|
||||||
@@ -67,8 +66,6 @@ export default defineComponent({
|
|||||||
|
|
||||||
this.dispatcherHistoryList = historyAPIData;
|
this.dispatcherHistoryList = historyAPIData;
|
||||||
this.dataStatus = DataStatus.Loaded;
|
this.dataStatus = DataStatus.Loaded;
|
||||||
|
|
||||||
console.log(this.dispatcherHistoryList);
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
}
|
}
|
||||||
@@ -113,4 +110,3 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
@@ -8,10 +8,6 @@ export default defineComponent({
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
|
||||||
console.log('Mixin mounted');
|
|
||||||
},
|
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
chosenTrain() {
|
chosenTrain() {
|
||||||
return this.store.trainList.find((train) => train.trainId == this.store.chosenModalTrainId);
|
return this.store.trainList.find((train) => train.trainId == this.store.chosenModalTrainId);
|
||||||
|
|||||||
@@ -64,8 +64,6 @@ export default defineComponent({
|
|||||||
computedStationList() {
|
computedStationList() {
|
||||||
const list = this.filterManager.getFilteredStationList(this.store.stationList, this.store.region.id);
|
const list = this.filterManager.getFilteredStationList(this.store.stationList, this.store.region.id);
|
||||||
|
|
||||||
console.log(list.map((station) => `${station.name} ${station.onlineInfo?.statusTimestamp}`));
|
|
||||||
|
|
||||||
return list;
|
return list;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user