aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2019-12-12 16:20:59 +0000
committerGerrit Code Review <gerrit@onap.org>2019-12-12 16:20:59 +0000
commitca8f3583c919bc5ce2d66c7f783f7dce4cf5a955 (patch)
tree8635167061ea830d2ae5de74c75fda82fc6f66c1 /vid-app-common/src/main/webapp
parente90eb82a3d10dfd2675b78dfd5ef2abce1a49e9d (diff)
parentaa283f736b1892426303582d141d3d12cb19b162 (diff)
Merge changes from topics "VID-45", "VID-44"
* changes: Merge this if statement with the enclosing one. Merge this if statement with the enclosing one.
Diffstat (limited to 'vid-app-common/src/main/webapp')
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js
index 12dd77953..673d2f6c4 100755
--- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js
@@ -162,13 +162,10 @@
if ((!($scope.isObjectEmpty(svcModel))) && (!($scope.isObjectEmpty(svcModel.vnfs)))) {
if ((svcModel.isNewFlow) && (vnfModelCustomizationUuid != null)) {
vnfModel = svcModel.vnfs[vnfModelCustomizationUuid];
- if (vnfModel !== undefined) {
-
- if (!($scope.isObjectEmpty(vnfModel.volumeGroups))) {
+ if (vnfModel !== undefined && !($scope.isObjectEmpty(vnfModel.volumeGroups))) {
//console.log ("vnfModel.volumeGroups: "); console.log (JSON.stringify(vnfModel.volumeGroups, null, 4));
return (vnfModel.volumeGroups);
}
- }
}
else {
// old flow