diff options
-rw-r--r-- | vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.controller.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.controller.js b/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.controller.js index 02242cb37..2eaa7513e 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.controller.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.controller.js @@ -222,9 +222,7 @@ try{ var requestInfoData ={}; var requestParametersData ={}; - var moduleToScale = _.find(vnf.vfModules, function(key, item){ - return !item.scale; - }); + var moduleToScale = _.find(vnf.vfModules, {"scale": true}); if (vnf.availableVersions && vnf.availableVersions.length!=0){ requestInfoData ={ |