diff --git a/src/lib/components/lemmy/post/Post.svelte b/src/lib/components/lemmy/post/Post.svelte index d1e17741..daeaf797 100644 --- a/src/lib/components/lemmy/post/Post.svelte +++ b/src/lib/components/lemmy/post/Post.svelte @@ -63,6 +63,7 @@ : 'NotSubscribed'} id={post.post.id} title={post.post.name} + read={post.read} style="grid-area: meta;" > diff --git a/src/lib/components/lemmy/post/PostMeta.svelte b/src/lib/components/lemmy/post/PostMeta.svelte index aecc5367..39ff5cdc 100644 --- a/src/lib/components/lemmy/post/PostMeta.svelte +++ b/src/lib/components/lemmy/post/PostMeta.svelte @@ -18,6 +18,7 @@ import { profile } from '$lib/auth.js' import Subscribe from '../../../../routes/communities/Subscribe.svelte' import ShieldIcon from '../moderation/ShieldIcon.svelte' + import { userSettings } from '$lib/settings' export let community: Community | undefined = undefined export let subscribed: SubscribedType | undefined = undefined @@ -26,6 +27,7 @@ export let published: Date | undefined = undefined export let title: string | undefined = undefined export let id: number | undefined = undefined + export let read: boolean = false // Badges export let badges = { @@ -147,6 +149,8 @@ {title}