X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/a7cf03c192470cbab13edeb1aec99e0c66dede10..852ee620f0a2f6a83cf83eba860ca951b66bb7e2:/src/routes/t/%5Bid%5D.svelte?ds=sidebyside diff --git a/src/routes/t/[id].svelte b/src/routes/t/[id].svelte index 510ced1..45cc63e 100644 --- a/src/routes/t/[id].svelte +++ b/src/routes/t/[id].svelte @@ -1,48 +1,45 @@ - - - {#if $store.loading} + {#if $response.loading} {$_('loader.message')}, {$_('topic.title')} {/if} - {#if $store.error} + {#if $response.error} {$_('error.generic.title')}, {$_('topic.title')} {/if} - {#if topic} - {topic.title}, {$_('topic.title')} + {#if $response.data} + {$response.data.title}, {$_('topic.title')} {/if} -{#if $store.loading} +{#if $response.loading} {/if} -{#if $store.error} +{#if $response.error} {/if} -{#if topic} - +{#if $response.data} + {/if}