mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
refactor(scenery): changed position of links and actions for active timetables to the bottom of the list
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
:onlineScenery="onlineScenery"
|
||||
:chosenCheckpoint="chosenCheckpoint"
|
||||
:showStockThumbnails="showStockThumbnails"
|
||||
@toggleThumbnails="toggleThumbnails"
|
||||
/>
|
||||
|
||||
<SceneryTimetableList
|
||||
@@ -55,7 +54,6 @@ export default defineComponent({
|
||||
|
||||
activated() {
|
||||
this.loadSelectedOption();
|
||||
this.handleStockThumbnails();
|
||||
},
|
||||
|
||||
watch: {
|
||||
@@ -88,12 +86,6 @@ export default defineComponent({
|
||||
},
|
||||
|
||||
methods: {
|
||||
toggleThumbnails() {
|
||||
this.showStockThumbnails = !this.showStockThumbnails;
|
||||
|
||||
StorageManager.setBooleanValue('showStockThumbnails', this.showStockThumbnails);
|
||||
},
|
||||
|
||||
loadSelectedOption() {
|
||||
const queryCheckpoint = this.$route.query['checkpoint']?.toString();
|
||||
|
||||
@@ -119,12 +111,6 @@ export default defineComponent({
|
||||
checkpointsListRef[0] ??
|
||||
sceneryName;
|
||||
}
|
||||
},
|
||||
|
||||
handleStockThumbnails() {
|
||||
const storageVal = StorageManager.getBooleanValue('showStockThumbnails');
|
||||
|
||||
this.showStockThumbnails = storageVal;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user