X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/cac85db02ff00732cf75d473dc3411332f33d845..refs/heads/main:/src/lib/components/topic/topic.svelte diff --git a/src/lib/components/topic/topic.svelte b/src/lib/components/topic/topic.svelte index 5b5ed0b..7fb4101 100644 --- a/src/lib/components/topic/topic.svelte +++ b/src/lib/components/topic/topic.svelte @@ -1,45 +1,56 @@
-

{topic.title}

+

{topic.title}

- {#if topic.tags.length > 0} + {#if topic.tags} {/if} - {#each topic.posts as post, index} - - {/each} + {#if topic.posts} + {#each topic.posts as post, index} + + {/each} + {/if}