refactor(scenery): changed position of links and actions for active timetables to the bottom of the list

This commit is contained in:
2026-03-17 22:36:28 +01:00
parent c7d2128bd9
commit cbc812bdec
4 changed files with 101 additions and 108 deletions
@@ -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;
}
}
});