aboutsummaryrefslogtreecommitdiff
path: root/src/components/favorite_button/favorite_button.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2022-11-21 19:34:19 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2022-11-21 19:34:19 +0000
commit513b81a23bd3d6aa308f538a2705d690fe90dc40 (patch)
treee4a815ae42241e2a6b02fbf4251db1f0bde65bf7 /src/components/favorite_button/favorite_button.js
parent8a87d82b7baf6cd8c4d1f33ee04d9fa1a25ae825 (diff)
parentd30e39ca32caf33ccaef7ec1b1c2756456bdb0e0 (diff)
Merge branch 'from/develop/tusooa/remote-xact' into 'develop'
Remote interaction with posts: frontend part See merge request pleroma/pleroma-fe!1419
Diffstat (limited to 'src/components/favorite_button/favorite_button.js')
-rw-r--r--src/components/favorite_button/favorite_button.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/favorite_button/favorite_button.js b/src/components/favorite_button/favorite_button.js
index c996cba2..cf3378c9 100644
--- a/src/components/favorite_button/favorite_button.js
+++ b/src/components/favorite_button/favorite_button.js
@@ -39,7 +39,10 @@ const FavoriteButton = {
}
},
computed: {
- ...mapGetters(['mergedConfig'])
+ ...mapGetters(['mergedConfig']),
+ remoteInteractionLink () {
+ return this.$store.getters.remoteInteractionLink({ statusId: this.status.id })
+ }
}
}