fix(web): consistency in icon of expandable list items

See https://material.io/components/lists#types
This commit is contained in:
Francis Lachapelle committed 2020-07-24 15:47:17 -04:00
1 parent 5e1a59243c
commit 1c99c2ca42
3 files changed
+4 -2

No files matched your search

@@ -98,6 +98,8 @@
var firstReadonlyIndex = _.findIndex(this.account.identities, { isReadOnly: 1 });
var identity = {};
if (firstReadonlyIndex < 0)
firstReadonlyIndex = this.account.identities.length;
if (this.customFromIsReadonly())
identity.fullName = this.account.identities[0].fullName;
this.account.identities.splice(Math.max(firstReadonlyIndex, 0), 0, identity);