]> Untitled Git - lemmy-ui.git/commitdiff
Fix mark as read.
authorDessalines <tyhou13@gmx.com>
Wed, 6 Jan 2021 21:07:13 +0000 (16:07 -0500)
committerDessalines <tyhou13@gmx.com>
Wed, 6 Jan 2021 21:07:13 +0000 (16:07 -0500)
src/shared/components/post.tsx

index 160dfccd74ba81efb18d0fc13c738f2b3f992e55..f7bf3730efb3b77ff1bc82d0c3ca313289f3ded6 100644 (file)
@@ -194,7 +194,7 @@ export class Post extends Component<any, PostState> {
       UserService.Instance.user.id == parent_user_id
     ) {
       let form: MarkCommentAsRead = {
-        comment_id: found.creator.id,
+        comment_id: found.comment.id,
         read: true,
         auth: authField(),
       };