diff --git a/src/TopicMasonryGrid.svelte b/src/TopicMasonryGrid.svelte index e96550d..a3eb5d3 100644 --- a/src/TopicMasonryGrid.svelte +++ b/src/TopicMasonryGrid.svelte @@ -87,7 +87,11 @@
{#each [...map.entries()] as parent}
- { format_topic_name(parent[0]) } + {#if typeof(parent[0]) == "string"} + { parent[0] } + {:else} + { format_topic_name(parent[0]) } + {/if}
{#each parent[1] as child}