From 15dca8755cd662c113d3b34b33f6ca2e0baae2c9 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 8 Apr 2018 11:20:04 +0300 Subject: [PATCH] minor cleanup.... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/core.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui (gen4)/features/core.js b/ui (gen4)/features/core.js index bc61a47d..3fa04ae1 100755 --- a/ui (gen4)/features/core.js +++ b/ui (gen4)/features/core.js @@ -1131,10 +1131,7 @@ var UtilActions = actions.Actions({ config = config instanceof Function ? config.call(this) : typeof(config) == typeof('str') ? this.config[config] : config - var that = this - Object.keys(config).forEach(function(key){ - that.config[key] = config[key] - }) + Object.assign(this.config, config) }], })