fixes tags in list view

This commit is contained in:
Christian Beutel
2025-04-15 13:18:52 +02:00
parent 5390b9cf72
commit 5db80db06f
2 changed files with 0 additions and 9 deletions

View File

@@ -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;
} }

View File

@@ -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>