Merge branch 'fix-poll-expand' into 'develop'

fix poll notifications not being expandable

See merge request pleroma/pleroma-fe!2191
This commit is contained in:
HJ 2025-12-23 13:46:28 +00:00
commit 971161a441
2 changed files with 2 additions and 1 deletions

1
changelog.d/poll.fix Normal file
View file

@ -0,0 +1 @@
fixed poll notifications not being expandable

View file

@ -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)