Cleanup c.d.

This commit is contained in:
2022-08-27 14:05:35 +02:00
parent aae51d4139
commit 6dd8cb2dad
3 changed files with 138 additions and 148 deletions
@@ -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>
-4
View File
@@ -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);
-2
View File
@@ -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;
}, },
}, },