fix(CommunityNewPermissionView): Use only key/amount to compare holdings when tracking duplicates
This commit is contained in:
parent
c85a8d3647
commit
1e7e2084a7
|
@ -61,7 +61,7 @@ StatusScrollView {
|
|||
modelA: root.dirtyValues.holdingsModel
|
||||
modelB: root.holdingsModel
|
||||
|
||||
roles: ["key", "name", "shortName", "amount"]
|
||||
roles: ["key", "amount"]
|
||||
mode: ModelsComparator.CompareMode.Set
|
||||
}
|
||||
|
||||
|
@ -130,7 +130,6 @@ StatusScrollView {
|
|||
function loadInitValues() {
|
||||
// Holdings:
|
||||
d.dirtyValues.holdingsModel.clear()
|
||||
|
||||
d.dirtyValues.holdingsModel.append(
|
||||
ModelUtils.modelToArray(root.holdingsModel, ["type", "key", "amount"]))
|
||||
|
||||
|
|
Loading…
Reference in New Issue