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