Switch from class hack to normalButton attr for emoji count popover

This commit is contained in:
tusooa 2025-03-22 17:41:53 -04:00
parent 5461289cb7
commit 4840177c8c
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
3 changed files with 2 additions and 2 deletions

View file

@ -0,0 +1 @@
Switch from class hack to normalButton attr for emoji count popover

View file

@ -84,8 +84,6 @@ const EmojiReactions = {
counterTriggerAttrs (reaction) { counterTriggerAttrs (reaction) {
return { return {
class: [ class: [
'btn',
'button-default',
'emoji-reaction-count-button', 'emoji-reaction-count-button',
{ {
'-picked-reaction': this.reactedWith(reaction.name), '-picked-reaction': this.reactedWith(reaction.name),

View file

@ -52,6 +52,7 @@
<UserListPopover <UserListPopover
:users="accountsForEmoji[reaction.name]" :users="accountsForEmoji[reaction.name]"
class="emoji-reaction-popover" class="emoji-reaction-popover"
:normal-button="true"
:trigger-attrs="counterTriggerAttrs(reaction)" :trigger-attrs="counterTriggerAttrs(reaction)"
@show="fetchEmojiReactionsByIfMissing()" @show="fetchEmojiReactionsByIfMissing()"
> >