Merge pull request #2895 from greggzigler/bug/configWalletNotFound
When running from browser for first time configCache.wallet is not found
This commit is contained in:
commit
b15a0371c3
1 changed files with 3 additions and 0 deletions
|
|
@ -57,6 +57,9 @@ angular.module('copayApp.services').factory('configService', function(storageSer
|
|||
if (!configCache.bws) {
|
||||
configCache.bws = defaultConfig.bws;
|
||||
}
|
||||
if (!configCache.wallet) {
|
||||
configCache.wallet = defaultConfig.wallet;
|
||||
}
|
||||
if (!configCache.wallet.settings.unitCode) {
|
||||
configCache.wallet.settings.unitCode = defaultConfig.wallet.settings.unitCode;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue