mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-05 11:35:26 +00:00
fix(web): consistency in icon of expandable list items
See https://material.io/components/lists#types
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user