From 9250a8434f004e0413db3d400f6c81db0d3c3a0d Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Tue, 13 Nov 2018 21:15:58 +0200 Subject: Fix for max_vf_module_instances (remove .value) Change-Id: I3e1edbded67d88e314ef2315c5c54b5e9c7699d4 Issue-ID: VID-346 Signed-off-by: Sonsino, Ofir (os0695) (cherry picked from commit c445efac620f9ba82bae41e53b10849de968f77d) --- .../modals/new-change-management/new-change-management.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vid-app-common/src') 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; } -- cgit 1.2.3-korg