Merge "Show npm config"
authorIttay Stern <ittay.stern@att.com>
Tue, 18 Jun 2019 11:22:46 +0000 (11:22 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 18 Jun 2019 11:22:46 +0000 (11:22 +0000)
vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.controller.js

index 02242cb..2eaa751 100644 (file)
                                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 ={