Merge pull request #3885 from ajp8164/master
Correction for #3692, cloneDeep() must be used otherwise defaultConfi…
This commit is contained in:
commit
41ea294b80
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ angular.module('copayApp.services').factory('configService', function(storageSer
|
|||
};
|
||||
|
||||
root.set = function(newOpts, cb) {
|
||||
var config = lodash.clone(defaultConfig);
|
||||
var config = lodash.cloneDeep(defaultConfig);
|
||||
storageService.getConfig(function(err, oldOpts) {
|
||||
if (lodash.isString(oldOpts)) {
|
||||
oldOpts = JSON.parse(oldOpts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue