fix update wallet settings
This commit is contained in:
parent
ebdc5c3563
commit
d911dd9d0b
1 changed files with 6 additions and 7 deletions
|
|
@ -32,10 +32,10 @@ angular.module('copayApp.services')
|
|||
var defaults = configService.getDefaults();
|
||||
var config = configService.getSync();
|
||||
|
||||
wallet.usingCustomBWS = config.bwsFor[wallet.id] && (config.bwsFor[wallet.id] != defaults.bws.url);
|
||||
wallet.usingCustomBWS = config.bwsFor && config.bwsFor[wallet.id] && (config.bwsFor[wallet.id] != defaults.bws.url);
|
||||
|
||||
wallet.name = config.aliasFor[wallet.id] || wallet.credentials.walletName;
|
||||
wallet.color = config.colorFor[wallet.id] || '#4A90E2';
|
||||
wallet.name = config.aliasFor && (config.aliasFor[wallet.id] || wallet.credentials.walletName);
|
||||
wallet.color = config.colorFor && (config.colorFor[wallet.id] || '#4A90E2');
|
||||
}
|
||||
|
||||
root.setBackupFlag = function(walletId) {
|
||||
|
|
@ -822,7 +822,6 @@ angular.module('copayApp.services')
|
|||
};
|
||||
});
|
||||
|
||||
|
||||
var finale = shown; // GROUPING DISABLED!
|
||||
|
||||
// var finale = [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue