mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Usunięto przycisk do widoku historii scenerii
This commit is contained in:
@@ -18,29 +18,18 @@
|
||||
<img :src="icons.back" alt="Back to scenery" />
|
||||
</button>
|
||||
|
||||
<button
|
||||
<!-- <button
|
||||
v-if="!timetableOnly && currentRegion.id == 'eu'"
|
||||
class="history-btn btn btn--image"
|
||||
@click="setCardViewMode(viewMode == 'history' ? 'info' : 'history')"
|
||||
:title="viewMode == 'history' ? $t('scenery.info-btn') : $t('scenery.history-btn')"
|
||||
@click="navigateTo('/journal')"
|
||||
>
|
||||
<img :src="viewMode == 'history' ? icons.user : icons.history" alt="icon" />
|
||||
</button>
|
||||
</button> -->
|
||||
|
||||
<SceneryHeader :station="stationInfo" />
|
||||
|
||||
<transition name="scenery-view-anim" mode="out-in">
|
||||
<div :key="viewMode">
|
||||
<div v-if="viewMode == 'info'">
|
||||
<SceneryInfo :station="stationInfo" :timetableOnly="timetableOnly" />
|
||||
<SceneryTimetable :station="stationInfo" :timetableOnly="timetableOnly" />
|
||||
</div>
|
||||
|
||||
<div v-else-if="viewMode == 'history'">
|
||||
<SceneryHistory :name="stationInfo.name" />
|
||||
</div>
|
||||
</div>
|
||||
</transition>
|
||||
<SceneryInfo :station="stationInfo" :timetableOnly="timetableOnly" />
|
||||
<SceneryTimetable :station="stationInfo" :timetableOnly="timetableOnly" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user