feat: Add OP indicator
This commit is contained in:
1 parent
76b06eef28
commit
c0702d645c
3 files changed
+15
-5
No files matched your search
@@ -58,7 +58,12 @@
|
||||
: 'ml-2.5 mt-2 pl-2.5 border-l-2 border-black/10 dark:border-white/10'}
|
||||
>
|
||||
{#each nodes.slice(0, maxComments) as node}
|
||||
<Comment postId={post.id} {node} open={true}>
|
||||
<Comment
|
||||
postId={post.id}
|
||||
{node}
|
||||
open={true}
|
||||
op={post.creator_id == node.comment_view.creator.id}
|
||||
>
|
||||
{#if node.children?.length > 0}
|
||||
<svelte:self {post} nodes={node.children} isParent={false} />
|
||||
{/if}
|
||||
|
||||
Reference in new issue
Block a user