Find the first selected scale-out vfModule (fix) 71/89771/1 4.3.1
authorIttay Stern <ittay.stern@att.com>
Wed, 12 Jun 2019 14:27:08 +0000 (17:27 +0300)
committerIttay Stern <ittay.stern@att.com>
Thu, 13 Jun 2019 04:42:15 +0000 (07:42 +0300)
commit71e820e32bd4f32aff4026fc55c6bb1f5891a0c2
treece7e313ebb956af3b490b573cb8f7834206931a7
parent04b8bbe7938b4f2119b969455e7de03d4987cce1
Find the first selected scale-out vfModule (fix)

Issue in original code is that it used callback function(key, item), but
function(item) or function(item, key) is the correct parameters order.

See https://lodash.com/docs/4.17.11#find

Issue-ID: VID-487

Change-Id: I6101f913f50f80c2c7afa636b5f53486088a0289
Signed-off-by: Ittay Stern <ittay.stern@att.com>
vid-app-common/src/main/webapp/app/vid/scripts/modals/new-change-management/new-change-management.controller.js