FIX: only checks for full page instead of preference (#18998)

Checking for preference is unsure when in standalone chat app (eg: electron app), this is much more resilient and simple.
This commit is contained in:
Joffrey JAFFEUX
2022-11-14 08:15:02 +01:00
committed by GitHub
parent 4306522a4e
commit 1a1d1424ed

View File

@ -1,6 +1,6 @@
<div class="chat-message-actions-container" data-id={{this.message.id}}>
<div class="chat-message-actions">
{{#if this.chatStateManager.isFullPagePreferred}}
{{#if this.chatStateManager.isFullPage}}
{{#each this.emojiReactions as |reaction|}}
<ChatMessageReaction @reaction={{reaction}} @react={{this.messageActions.react}} @class="show" />
{{/each}}