remove data hack, display proposals honestly
This commit is contained in:
parent
d61ba54899
commit
d929e32949
3 changed files with 9 additions and 22 deletions
|
|
@ -372,8 +372,12 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
lastItem[list.accumulator] -= nextItem[list.accumulator];
|
||||
list.push(nextItem);
|
||||
if (lastItem.summary.length) {
|
||||
list.transform(lastItem, lastItem[list.accumulator]);
|
||||
list.push(lastItem);
|
||||
if (lastItem.summary.length === 1) {
|
||||
list.push(lastItem.summary.pop());
|
||||
} else {
|
||||
list.transform(lastItem, lastItem[list.accumulator]);
|
||||
list.push(lastItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue