mirror of
https://github.com/Flomp/wanderer.git
synced 2025-12-17 10:44:31 -06:00
fix opening trail from map search (#562)
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -9,6 +9,6 @@ search/dumps
|
||||
|
||||
run.sh
|
||||
build*.sh
|
||||
start.*
|
||||
start*.*
|
||||
|
||||
data*/
|
||||
|
||||
@@ -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) => ({
|
||||
|
||||
Reference in New Issue
Block a user