feat: driver train view

This commit is contained in:
2024-08-21 02:02:35 +02:00
parent 481d43b6d8
commit 24c9b62162
12 changed files with 102 additions and 53 deletions
+2 -7
View File
@@ -3,11 +3,7 @@
class="stop-label"
:data-minor="stop.isSBL || (stop.nameRaw.endsWith(', po') && !stop.duration)"
>
<router-link
v-if="/(, podg|<strong>)/.test(stop.nameHtml)"
:to="sceneryHref"
@click="closeModal"
>
<router-link v-if="/(, podg|<strong>)/.test(stop.nameHtml)" :to="sceneryHref">
<span class="name" v-html="stop.nameHtml"></span>
</router-link>
@@ -75,10 +71,9 @@
import { PropType, defineComponent } from 'vue';
import dateMixin from '../../mixins/dateMixin';
import { TrainScheduleStop } from './TrainSchedule.vue';
import modalTrainMixin from '../../mixins/modalTrainMixin';
export default defineComponent({
mixins: [dateMixin, modalTrainMixin],
mixins: [dateMixin],
props: {
stop: {