check for betterShadow support in the userAvatar instead of its parents

This commit is contained in:
Henry Jameson 2025-01-07 18:37:16 +02:00
commit fa76be2f9a
10 changed files with 5 additions and 22 deletions

View file

@ -66,7 +66,6 @@ const ChatMessage = {
return this.message.attachments.length > 0
},
...mapState({
betterShadow: state => state.interface.browserSupport.cssFilter,
currentUser: state => state.users.currentUser,
restrictedNicknames: state => state.instance.restrictedNicknames
}),

View file

@ -20,7 +20,6 @@
>
<UserAvatar
:compact="true"
:better-shadow="betterShadow"
:user="author"
/>
</UserPopover>