Fix for max_vf_module_instances (remove .value) 71/72571/1
authorSonsino, Ofir (os0695) <os0695@intl.att.com>
Tue, 13 Nov 2018 19:15:58 +0000 (21:15 +0200)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Tue, 13 Nov 2018 19:17:27 +0000 (19:17 +0000)
Change-Id: I3e1edbded67d88e314ef2315c5c54b5e9c7699d4
Issue-ID: VID-346
Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
(cherry picked from commit c445efac620f9ba82bae41e53b10849de968f77d)

vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.controller.js

index 3a5a1c7..c6c9edf 100644 (file)
                                                             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;
                                                     }