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:
commit
971161a441
2 changed files with 2 additions and 1 deletions
1
changelog.d/poll.fix
Normal file
1
changelog.d/poll.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
fixed poll notifications not being expandable
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue