X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/be1ce532b26aea4e3e2258da78849bd245f7f78b..refs/heads/main:/src/routes/t/%5Bid%5D.svelte?ds=sidebyside diff --git a/src/routes/t/[id].svelte b/src/routes/t/[id].svelte index d60946b..b7a067b 100644 --- a/src/routes/t/[id].svelte +++ b/src/routes/t/[id].svelte @@ -1,15 +1,11 @@ - {#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}