Allow to like private posts

This commit is contained in:
silverpill 2022-07-20 21:53:05 +00:00
parent ac4b8e275a
commit c28e812de9

View file

@ -349,7 +349,7 @@ async function toggleRepost() {
} }
function canLike(): boolean { function canLike(): boolean {
return currentUser !== null && props.post.visibility === "public" return currentUser !== null
} }
async function toggleLike() { async function toggleLike() {