mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Aktualizacja scenerii i wyglądu select boxów
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<select-box
|
||||
:title="$t('trains.option-distance')"
|
||||
:itemList="translatedSorterOptions"
|
||||
:defaultItemIndex="3"
|
||||
@selected="changeSorter"
|
||||
/>
|
||||
|
||||
@@ -104,8 +105,8 @@ export default class TrainOptions extends Vue {
|
||||
}
|
||||
|
||||
@Emit()
|
||||
changeSorter(optionID: string) {
|
||||
return { id: optionID, dir: -1 };
|
||||
changeSorter(item: { id: string | number; value: string }) {
|
||||
return { id: item.id, dir: -1 };
|
||||
}
|
||||
|
||||
/* Watchers for search boxes */
|
||||
@@ -155,6 +156,10 @@ export default class TrainOptions extends Vue {
|
||||
}
|
||||
}
|
||||
|
||||
.select-box {
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
.search {
|
||||
&-box {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user