diff --git a/webapp/src/routes/[id].svelte b/webapp/src/routes/[id].svelte index 6f14155..70c7b06 100644 --- a/webapp/src/routes/[id].svelte +++ b/webapp/src/routes/[id].svelte @@ -19,6 +19,7 @@ export let story; export let related; + let others = related.filter((r) => r.id !== story.id && r.num_comments); let hasComments = related.some((r) => r.num_comments); @@ -80,11 +81,11 @@ {#if hasComments}