From c28e812de904f56294eb247098ecd83df4cf4d82 Mon Sep 17 00:00:00 2001 From: silverpill Date: Wed, 20 Jul 2022 21:53:05 +0000 Subject: [PATCH] Allow to like private posts --- src/components/Post.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Post.vue b/src/components/Post.vue index d4282ce..32d6329 100644 --- a/src/components/Post.vue +++ b/src/components/Post.vue @@ -349,7 +349,7 @@ async function toggleRepost() { } function canLike(): boolean { - return currentUser !== null && props.post.visibility === "public" + return currentUser !== null } async function toggleLike() {