diff --git a/src/app/components/ThreadBoardItem.svelte b/src/app/components/ThreadBoardItem.svelte index 74265a5b..7871d80f 100644 --- a/src/app/components/ThreadBoardItem.svelte +++ b/src/app/components/ThreadBoardItem.svelte @@ -3,9 +3,12 @@ import {formatTimestamp, max} from "@welshman/lib" import type {TrustedEvent} from "@welshman/util" import {COMMENT, tagSpec, tagValue} from "@welshman/util" + import {fade} from "@lib/transition" + import Link from '@lib/components/Link.svelte' import ProfileCircle from "@app/components/ProfileCircle.svelte" import ProfileName from "@app/components/ProfileName.svelte" import {deriveEventsForUrl} from "@app/repository" + import {notifications} from "@app/notifications" import {makeThreadPath} from "@app/routes" type Props = { @@ -22,15 +25,15 @@ const lastActive = $derived(max([...$replies, event].map(e => e.created_at))) const title = tagValue(tagSpec("title"), event.tags) const path = makeThreadPath(url, event.id) + const onClick = () => goto(path) + // notification={$notifications.has(path)} - const goToThread = () => goto(path) {#if mobile} - + {:else}