4 import { _ } from 'svelte-i18n';
5 import { getForum } from '$stores/forum';
6 import ErrorBlock from '../error_block/error_block.svelte';
8 import TopicSummary from '$components/topic_summary/topic_summary.svelte';
10 $: store = getForum(id);
11 $: forum = $store.data;
18 <ErrorBlock message={$_('forum_list.error.unavailable')} />
21 <h1>{forum.glyph} {$_(forum.label)}</h1>
23 {#each forum.topics as topic}
24 <TopicSummary topic={topic} />