check for betterShadow support in the userAvatar instead of its parents
This commit is contained in:
parent
28955d8444
commit
fa76be2f9a
10 changed files with 5 additions and 22 deletions
|
|
@ -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
|
||||
}),
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
>
|
||||
<UserAvatar
|
||||
:compact="true"
|
||||
:better-shadow="betterShadow"
|
||||
:user="author"
|
||||
/>
|
||||
</UserPopover>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue