Merge branch 'tusooa/1366-emoji-count-button' into 'develop'

Switch from class hack to normalButton attr for emoji count popover

Closes #1366

See merge request pleroma/pleroma-fe!2099
This commit is contained in:
HJ 2025-03-23 12:39:54 +00:00
commit b8c84094b8
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) {
return {
class: [
'btn',
'button-default',
'emoji-reaction-count-button',
{
'-picked-reaction': this.reactedWith(reaction.name),

View file

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