Przywrócono ukryte sekcje w TrainInfo

This commit is contained in:
2022-01-26 21:07:08 +01:00
parent b805c988c9
commit 76ab722974
+5 -5
View File
@@ -39,10 +39,10 @@
</div> </div>
<div class="timetable_stops"> <div class="timetable_stops">
<!-- <span v-if="train.timetableData.followingStops.length > 2"> <span v-if="train.timetableData.followingStops.length > 2">
{{ $t('trains.via-title') }} {{ $t('trains.via-title') }}
<span v-html="displayStopList(train.timetableData.followingStops)"></span> <span v-html="displayStopList(train.timetableData.followingStops)"></span>
</span> --> </span>
</div> </div>
</div> </div>
@@ -74,11 +74,11 @@
<span v-else>{{ displayLocoInfo(train.locoType) }}</span> <span v-else>{{ displayLocoInfo(train.locoType) }}</span>
</div> </div>
<!-- <img class="train-image" hidden="true" :src="train.locoURL" :alt="train.locoType" @load="onImageLoad" /> --> <img class="train-image" hidden="true" :src="train.locoURL" :alt="train.locoType" @load="onImageLoad" />
</span> </span>
</span> </span>
<!-- <span class="stats"> <span class="stats">
<div class="stats-main"> <div class="stats-main">
<span v-for="stat in STATS.main" :key="stat.name"> <span v-for="stat in STATS.main" :key="stat.name">
<img :src="require(`@/assets/icon-${stat.name}.svg`)" :alt="stat.name" /> <img :src="require(`@/assets/icon-${stat.name}.svg`)" :alt="stat.name" />
@@ -92,7 +92,7 @@
{{ (train[stat.prop] || '---') + (stat.unit || '') }} {{ (train[stat.prop] || '---') + (stat.unit || '') }}
</span> </span>
</div> </div>
</span> --> </span>
</div> </div>
</div> </div>
</template> </template>