diff --git a/changelog.d/poll.fix b/changelog.d/poll.fix new file mode 100644 index 000000000..534943e0a --- /dev/null +++ b/changelog.d/poll.fix @@ -0,0 +1 @@ +fixed poll notifications not being expandable diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js index 3edf21de7..8052e3a73 100644 --- a/src/components/notification/notification.js +++ b/src/components/notification/notification.js @@ -163,7 +163,7 @@ const Notification = { return highlightStyle(highlight[user.screen_name]) }, expandable () { - return (new Set(['like', 'pleroma:emoji_reaction', 'repeat'])).has(this.notification.type) + return (new Set(['like', 'pleroma:emoji_reaction', 'repeat', 'poll'])).has(this.notification.type) }, user () { return this.$store.getters.findUser(this.notification.from_profile.id)