summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCyrille Bollu <cyrpub@bollu.be>2019-07-10 17:40:12 +0200
committerCyrille Bollu <cyrpub@bollu.be>2019-07-10 17:40:12 +0200
commit1481a51e16ce94830691291d45f41db14334a57a (patch)
tree0b05ad2f1885f5c17bcbee4f6c8e24ce239cd263 /src
parent27afa184362a6ae72c2e77985a258c9298ee9d2a (diff)
- Should fix the issue that post couldn't be unliked
- Fixes a typo in a comment Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
Diffstat (limited to 'src')
-rw-r--r--src/components/TimelinePost.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/TimelinePost.vue b/src/components/TimelinePost.vue
index 97413e40..2e6e5fda 100644
--- a/src/components/TimelinePost.vue
+++ b/src/components/TimelinePost.vue
@@ -154,7 +154,7 @@ export default {
post: this.item,
parentAnnounce: this.parentAnnounce
}
- if (this.isBoosted) {
+ if (this.isLiked) {
this.$store.dispatch('postUnlike', params)
} else {
this.$store.dispatch('postLike', params)