mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-05 06:18:12 +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" />
|
<img :src="icons.back" alt="Back to scenery" />
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
<!-- <button
|
||||||
v-if="!timetableOnly && currentRegion.id == 'eu'"
|
v-if="!timetableOnly && currentRegion.id == 'eu'"
|
||||||
class="history-btn btn btn--image"
|
class="history-btn btn btn--image"
|
||||||
@click="setCardViewMode(viewMode == 'history' ? 'info' : 'history')"
|
@click="navigateTo('/journal')"
|
||||||
:title="viewMode == 'history' ? $t('scenery.info-btn') : $t('scenery.history-btn')"
|
|
||||||
>
|
>
|
||||||
<img :src="viewMode == 'history' ? icons.user : icons.history" alt="icon" />
|
<img :src="viewMode == 'history' ? icons.user : icons.history" alt="icon" />
|
||||||
</button>
|
</button> -->
|
||||||
|
|
||||||
<SceneryHeader :station="stationInfo" />
|
<SceneryHeader :station="stationInfo" />
|
||||||
|
|
||||||
<transition name="scenery-view-anim" mode="out-in">
|
<SceneryInfo :station="stationInfo" :timetableOnly="timetableOnly" />
|
||||||
<div :key="viewMode">
|
<SceneryTimetable :station="stationInfo" :timetableOnly="timetableOnly" />
|
||||||
<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>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user