diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-11-21 19:34:19 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-11-21 19:34:19 +0000 |
| commit | 513b81a23bd3d6aa308f538a2705d690fe90dc40 (patch) | |
| tree | e4a815ae42241e2a6b02fbf4251db1f0bde65bf7 /src/components/favorite_button/favorite_button.vue | |
| parent | 8a87d82b7baf6cd8c4d1f33ee04d9fa1a25ae825 (diff) | |
| parent | d30e39ca32caf33ccaef7ec1b1c2756456bdb0e0 (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.vue')
| -rw-r--r-- | src/components/favorite_button/favorite_button.vue | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/components/favorite_button/favorite_button.vue b/src/components/favorite_button/favorite_button.vue index 74a1dfbb..ea01720a 100644 --- a/src/components/favorite_button/favorite_button.vue +++ b/src/components/favorite_button/favorite_button.vue @@ -33,13 +33,19 @@ /> </FALayers> </button> - <span v-else> + <a + v-else + class="button-unstyled interactive" + target="_blank" + role="button" + :href="remoteInteractionLink" + > <FAIcon class="fa-scale-110 fa-old-padding" :title="$t('tool_tip.favorite')" :icon="['far', 'star']" /> - </span> + </a> <span v-if="!mergedConfig.hidePostStats && status.fave_num > 0" class="action-counter" |
