fixes tags in list view
This commit is contained in:
@@ -183,7 +183,6 @@
|
||||
}
|
||||
|
||||
const r: GeoJSON[] = [];
|
||||
console.time("start decode")
|
||||
trails.forEach((t) => {
|
||||
if (t.polyline) {
|
||||
r.push(polylineToGeoJSON(t.polyline, 5));
|
||||
@@ -201,7 +200,6 @@
|
||||
} as GeoJSON);
|
||||
}
|
||||
});
|
||||
console.timeEnd("start decode")
|
||||
|
||||
return r;
|
||||
}
|
||||
|
||||
@@ -89,13 +89,6 @@
|
||||
{trail.expand.author.username}
|
||||
</p>
|
||||
{/if}
|
||||
{#if trail.tags?.length}
|
||||
<div class="flex gap-1 mb-3">
|
||||
{#each trail.tags ?? [] as t}
|
||||
<Chip text={t} closable={false} primary={false}></Chip>
|
||||
{/each}
|
||||
</div>
|
||||
{/if}
|
||||
<div class="flex flex-wrap gap-x-8">
|
||||
{#if trail.location}
|
||||
<h5><i class="fa fa-location-dot mr-3"></i>{trail.location}</h5>
|
||||
|
||||
Reference in New Issue
Block a user