From: Sonsino, Ofir (os0695) Date: Tue, 13 Nov 2018 19:15:58 +0000 (+0200) Subject: Fix for max_vf_module_instances (remove .value) X-Git-Tag: 3.2.1~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=c445efac620f9ba82bae41e53b10849de968f77d;p=sandbox-vid.git Fix for max_vf_module_instances (remove .value) Change-Id: I3e1edbded67d88e314ef2315c5c54b5e9c7699d4 Issue-ID: VID-346 Signed-off-by: Sonsino, Ofir (os0695) --- 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 3a5a1c7e..c6c9edf6 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 @@ -101,7 +101,7 @@ return modulesAaiIds.indexOf(item.id) > -1 && item.properties["model-customization-id"] === mdl.customizationUuid; }).length; - mdl.scalable = mdl.properties.maxCountInstances.value - mdl.currentCount > 0; + mdl.scalable = mdl.properties.maxCountInstances - mdl.currentCount > 0; }else{ mdl.scalable = false; }