Fix
This commit is contained in:
parent
3a26acbdb2
commit
fab0cc51b3
13 changed files with 17 additions and 24 deletions
|
|
@ -55,12 +55,7 @@ export default Vue.extend({
|
|||
},
|
||||
icon(): any {
|
||||
return {
|
||||
backgroundColor: this.user.avatarColor ? this.lightmode
|
||||
? this.user.avatarColor
|
||||
: this.user.avatarColor.startsWith('rgb(')
|
||||
? this.user.avatarColor
|
||||
: null
|
||||
: null,
|
||||
backgroundColor: this.user.avatarColor,
|
||||
backgroundImage: this.lightmode ? null : `url(${this.url})`,
|
||||
borderRadius: this.$store.state.settings.circleIcons ? '100%' : null
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue