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