aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/storeUtil
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2019-11-27 12:08:01 +0200
committerEylon Malin <eylon.malin@intl.att.com>2019-11-27 13:15:50 +0200
commit7313c143ac5b3954732ec4cb98c0a899a4b99267 (patch)
tree002c85fd331f2bf5c67fe2274d1d509c0d4731c1 /vid-webpack-master/src/app/shared/storeUtil
parenta140715747d4d42ba7f7cbe1dbb90fdba11aa14e (diff)
use mergeObjectByPathAction for update VfModule properties upon upgrade
Issue-ID: VID-603 Change-Id: Icdec60aa0e0522e5af394184c5f700ed2d493e4e Signed-off-by: Eylon Malin <eylon.malin@intl.att.com>
Diffstat (limited to 'vid-webpack-master/src/app/shared/storeUtil')
-rw-r--r--vid-webpack-master/src/app/shared/storeUtil/utils/general/general.reducers.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/vid-webpack-master/src/app/shared/storeUtil/utils/general/general.reducers.ts b/vid-webpack-master/src/app/shared/storeUtil/utils/general/general.reducers.ts
index a34322751..f87a97397 100644
--- a/vid-webpack-master/src/app/shared/storeUtil/utils/general/general.reducers.ts
+++ b/vid-webpack-master/src/app/shared/storeUtil/utils/general/general.reducers.ts
@@ -92,6 +92,9 @@ export function generalReducer(state: ServiceState, action: Action) : ServiceSta
if (targetObject) {
targetObject = _.merge(targetObject, mergeObjectByPathAction.payload);
}
+ else {
+ console.error(`Can't find object at ${mergeObjectByPathAction.path.join()}`)
+ }
return newState;
}