diff options
author | marco <marcoambrosini@pm.me> | 2022-03-21 17:48:54 +0300 |
---|---|---|
committer | marco <marcoambrosini@pm.me> | 2022-03-24 16:01:45 +0300 |
commit | cdfe363f2e2e4248dc6e05217c85a7e71d5921bf (patch) | |
tree | fc2d6262825325c576553d16412afee63ee8b121 /src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue | |
parent | 090263a1051b505e6c5ba44dcc76cb73566d3530 (diff) |
Do not show reaction button for changelog messages
Signed-off-by: marco <marcoambrosini@pm.me>
Diffstat (limited to 'src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue')
-rw-r--r-- | src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue b/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue index 952caf3d3..331d0e3e3 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue @@ -23,7 +23,8 @@ <!-- Message Actions --> <div class="message-buttons-bar"> <template v-if="page === 0"> - <Button type="tertiary" + <Button v-if="acceptsReactions" + type="tertiary" @click="page = 1"> <template #icon> <EmoticonOutline :size="20" /> @@ -326,6 +327,10 @@ export default { && this.$store.getters.getActorType() === ATTENDEE.ACTOR_TYPE.USERS }, + acceptsReactions() { + return !this.isConversationReadOnly + }, + messageActions() { return this.$store.getters.messageActions }, |