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
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue