mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-24 13:32:22 +00:00
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
|
modelA: root.dirtyValues.holdingsModel
|
||||||
modelB: root.holdingsModel
|
modelB: root.holdingsModel
|
||||||
|
|
||||||
roles: ["key", "name", "shortName", "amount"]
|
roles: ["key", "amount"]
|
||||||
mode: ModelsComparator.CompareMode.Set
|
mode: ModelsComparator.CompareMode.Set
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -130,7 +130,6 @@ StatusScrollView {
|
|||||||
function loadInitValues() {
|
function loadInitValues() {
|
||||||
// Holdings:
|
// Holdings:
|
||||||
d.dirtyValues.holdingsModel.clear()
|
d.dirtyValues.holdingsModel.clear()
|
||||||
|
|
||||||
d.dirtyValues.holdingsModel.append(
|
d.dirtyValues.holdingsModel.append(
|
||||||
ModelUtils.modelToArray(root.holdingsModel, ["type", "key", "amount"]))
|
ModelUtils.modelToArray(root.holdingsModel, ["type", "key", "amount"]))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user