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

@ -15,14 +15,14 @@ library.add(
const UserAvatar = {
props: [
'user',
'betterShadow',
'compact',
'showActorTypeIndicator'
],
data () {
return {
showPlaceholder: false,
defaultAvatar: `${this.$store.state.instance.server + this.$store.state.instance.defaultAvatar}`
defaultAvatar: `${this.$store.state.instance.server + this.$store.state.instance.defaultAvatar}`,
betterShadow: this.$store.state.interface.browserSupport.cssFilter
}
},
components: {