From be8465be78411a9e020771c45d31230fd1ea1798 Mon Sep 17 00:00:00 2001 From: Martin Schmidt Date: Fri, 20 Feb 2026 11:00:04 +0100 Subject: [PATCH] fix: expand and display tag name in list view (#742) Co-authored-by: Christian Beutel <> Co-authored-by: Flomp --- web/src/lib/components/trail/trail_list_item.svelte | 10 +++++----- web/src/lib/stores/list_store.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/src/lib/components/trail/trail_list_item.svelte b/web/src/lib/components/trail/trail_list_item.svelte index da22f591..5077e3ff 100644 --- a/web/src/lib/components/trail/trail_list_item.svelte +++ b/web/src/lib/components/trail/trail_list_item.svelte @@ -130,13 +130,13 @@ {handleFromRecordWithIRI(trail)}

{/if} - {#if trail.tags.length} + {#if trail.tags.length && trail.expand?.tags}
- {#each expandedTags ? trail.tags : trail.tags.slice(0, 2) as t} - + {#each expandedTags ? trail.expand.tags : trail.expand.tags.slice(0, 2) as tag} + {/each} - {#if trail.tags.length > 2} + {#if trail.expand.tags.length > 2}