Skip to content
Snippets Groups Projects
Unverified Commit 2c867b40 authored by Christoph Wurst's avatar Christoph Wurst
Browse files

Fix the used property for account colors: name -> email

parent 02433a35
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ export default {
computed: {
accountColor() {
return calculateAccountColor(
this.$store.getters.getAccount(this.data.accountId).name
this.$store.getters.getAccount(this.data.accountId).emailAddress
)
},
draft() {
......
......@@ -24,7 +24,7 @@ export default {
id: 'account' + account.id,
key: 'account' + account.id,
text: account.emailAddress,
bullet: isError ? undefined : calculateAccountColor(account.name), // TODO
bullet: isError ? undefined : calculateAccountColor(account.emailAddress),
icon: isError ? 'icon-error' : undefined,
router: {
name: 'accountSettings',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment