dodano pole do ukrywania szlaków

This commit is contained in:
2024-01-03 17:09:09 +01:00
parent 39d6213e4f
commit 97bc6db1c4
8 changed files with 214 additions and 129 deletions
+2
View File
@@ -6,6 +6,8 @@ export default defineComponent({
getRouteNames(routes: SceneryRowItem['routesInfo']) {
return routes
.map((route) => {
const routeNameClr = route.routeSpeed != 0 && route.routeLength != 0 ? 'text--accent' : '';
// !Oc_2EPB
return `<span ${route.routeSpeed != 0 && route.routeLength != 0 ? 'class="text--accent"' : ''}>${
route.isInternal ? '<u>' + route.routeName + '</u>' : route.routeName