|
@@ -31,7 +31,7 @@
|
|
class='post__footer_group'
|
|
class='post__footer_group'
|
|
>
|
|
>
|
|
<div class='post__footer_sub_group'>
|
|
<div class='post__footer_sub_group'>
|
|
- <heart-button></heart-button>
|
|
|
|
|
|
+ <heart-button v-model='liked' :likes='post.likes' :likeable='$store.state.username !== post.User.username'></heart-button>
|
|
</div>
|
|
</div>
|
|
<div class='post__footer_sub_group' v-if='post.Replies.length'>
|
|
<div class='post__footer_sub_group' v-if='post.Replies.length'>
|
|
<span class='post__footer_sub_group__text post__footer_sub_group__text--replies'>replies</span>
|
|
<span class='post__footer_sub_group__text post__footer_sub_group__text--replies'>replies</span>
|
|
@@ -87,7 +87,8 @@
|
|
return {
|
|
return {
|
|
hover: false,
|
|
hover: false,
|
|
showShareModal: false,
|
|
showShareModal: false,
|
|
- postURL: `${location.origin}/thread/${post.Thread.slug}/${post.ThreadId}/${post.postNumber}`
|
|
|
|
|
|
+ postURL: `${location.origin}/thread/${post.Thread.slug}/${post.ThreadId}/${post.postNumber}`,
|
|
|
|
+ liked: false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|