fix opening trail from map search (#562)

This commit is contained in:
slothful-vassal
2025-09-07 16:34:25 +02:00
committed by GitHub
parent 5174663104
commit 8cc7029243
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@@ -9,6 +9,6 @@ search/dumps
run.sh
build*.sh
start.*
start*.*
data*/

View File

@@ -101,7 +101,7 @@
const trailItems = r[0].hits.map((t: TrailSearchResult) => ({
text: t.name,
description: `Trail ${t.location.length ? ", " + t.location : ""}`,
value: `@${t.author}${t.domain ? `@${t.domain}` : ""}/${t.id}`,
value: `@${t.author_name}${t.domain ? `@${t.domain}` : ""}/${t.id}`,
icon: "route",
}));
const listItems = r[1].hits.map((t: ListSearchResult) => ({