From 8a1074336c3cce8111a23281bbe71301b93c3420 Mon Sep 17 00:00:00 2001 From: tusooa Date: Mon, 22 May 2023 22:09:04 -0400 Subject: [PATCH] Make emoji reactions clickable when not logged in --- .../emoji_reactions/emoji_reactions.js | 3 +++ .../emoji_reactions/emoji_reactions.vue | 20 ++++++++----------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/components/emoji_reactions/emoji_reactions.js b/src/components/emoji_reactions/emoji_reactions.js index b3520a550c..74cb844cc6 100644 --- a/src/components/emoji_reactions/emoji_reactions.js +++ b/src/components/emoji_reactions/emoji_reactions.js @@ -45,6 +45,9 @@ const EmojiReactions = { }, loggedIn () { return !!this.$store.state.users.currentUser + }, + remoteInteractionLink () { + return this.$store.getters.remoteInteractionLink({ statusId: this.status.id }) } }, methods: { diff --git a/src/components/emoji_reactions/emoji_reactions.vue b/src/components/emoji_reactions/emoji_reactions.vue index 3171785b31..f30afcb2ab 100644 --- a/src/components/emoji_reactions/emoji_reactions.vue +++ b/src/components/emoji_reactions/emoji_reactions.vue @@ -5,9 +5,12 @@ :key="reaction.url || reaction.name" class="emoji-reaction-container btn-group" > - +