Switch from class hack to normalButton attr for emoji count popover
This commit is contained in:
parent
5461289cb7
commit
4840177c8c
3 changed files with 2 additions and 2 deletions
1
changelog.d/emoji-count-button.fix
Normal file
1
changelog.d/emoji-count-button.fix
Normal file
|
@ -0,0 +1 @@
|
|||
Switch from class hack to normalButton attr for emoji count popover
|
|
@ -84,8 +84,6 @@ const EmojiReactions = {
|
|||
counterTriggerAttrs (reaction) {
|
||||
return {
|
||||
class: [
|
||||
'btn',
|
||||
'button-default',
|
||||
'emoji-reaction-count-button',
|
||||
{
|
||||
'-picked-reaction': this.reactedWith(reaction.name),
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
<UserListPopover
|
||||
:users="accountsForEmoji[reaction.name]"
|
||||
class="emoji-reaction-popover"
|
||||
:normal-button="true"
|
||||
:trigger-attrs="counterTriggerAttrs(reaction)"
|
||||
@show="fetchEmojiReactionsByIfMissing()"
|
||||
>
|
||||
|
|
Loading…
Add table
Reference in a new issue