add bwsFor control - revert empty structure from configService
This commit is contained in:
parent
195f47226b
commit
d0e8b0d05e
3 changed files with 2 additions and 6 deletions
|
|
@ -10,7 +10,7 @@ angular.module('copayApp.controllers').controller('preferencesBwsUrlController',
|
|||
var defaults = configService.getDefaults();
|
||||
var config = configService.getSync();
|
||||
|
||||
this.bwsurl = config.bwsFor[walletId] || defaults.bws.url;
|
||||
this.bwsurl = (config.bwsFor && config.bwsFor[walletId]) || defaults.bws.url;
|
||||
|
||||
this.save = function() {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue