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

See https://material.io/components/lists#types
This commit is contained in:
Francis Lachapelle
2020-07-24 15:47:17 -04:00
parent 5e1a59243c
commit 1c99c2ca42
3 changed files with 4 additions and 2 deletions
@@ -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);