mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
Lokalizacja sortowania nazw scenerii; poprawki rozmiarów
This commit is contained in:
@@ -271,7 +271,6 @@ export default defineComponent({
|
|||||||
padding: 0.5em 1em;
|
padding: 0.5em 1em;
|
||||||
border-radius: 0.75em 0.75em 0 0;
|
border-radius: 0.75em 0.75em 0 0;
|
||||||
|
|
||||||
font-size: 0.9em;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -50,9 +50,7 @@ const sortStations = (a: Station, b: Station, sorter: { index: number; dir: numb
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (a.name.toLowerCase() >= b.name.toLowerCase()) return sorter.dir;
|
return sorter.dir == 1 ? a.name.localeCompare(b.name) : b.name.localeCompare(a.name);
|
||||||
|
|
||||||
return -sorter.dir;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const filterStations = (station: Station, filters: Filter) => {
|
const filterStations = (station: Station, filters: Filter) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user