add email to account deletion
This commit is contained in:
parent
d51c4f5c0f
commit
4911d50b0d
2 changed files with 5 additions and 5 deletions
|
|
@ -391,12 +391,12 @@ angular.module('copayApp.services')
|
|||
|
||||
var allCards = [];
|
||||
|
||||
lodash.each(allAccounts, function(account) {
|
||||
lodash.each(allAccounts, function(account, email) {
|
||||
|
||||
// Add account's email to card list, for convenience
|
||||
var cards = lodash.clone(account.cards);
|
||||
|
||||
lodash.each(allAccounts, function(x) {
|
||||
x.email = account.email;
|
||||
lodash.each(cards, function(x) {
|
||||
x.email = email;
|
||||
});
|
||||
|
||||
allCards = allCards.concat(cards);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue