diff options
author | Liu <yongqiang.liu@nokia-sbell.com> | 2020-01-27 10:59:12 +0800 |
---|---|---|
committer | Taka Cho <takamune.cho@att.com> | 2020-02-05 09:48:24 -0500 |
commit | 700ac8a7ec822f1b7a0505319e4c453ca045d2ed (patch) | |
tree | 628c687faf129b6c3f87fe1e6b9b5c11fc2417ac /src/app/pipes | |
parent | 773f970c50772cddf75f7c7918935315e55d4e2d (diff) |
add new action configscalein for cdt
Change-Id: I2f05079b7c2428351332ac84c1ea56f31d4a38d9
Issue-ID: APPC-1760
Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'src/app/pipes')
-rw-r--r-- | src/app/pipes/vm-filtering.pipe.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/pipes/vm-filtering.pipe.ts b/src/app/pipes/vm-filtering.pipe.ts index 6da7840..ec1aaa3 100644 --- a/src/app/pipes/vm-filtering.pipe.ts +++ b/src/app/pipes/vm-filtering.pipe.ts @@ -25,12 +25,12 @@ export class VmFilteringPipe implements PipeTransform { transform(value: any, action: any, templateId, newVnfc): any { let filterValue - if(action == 'ConfigScaleOut'){ + if(action == 'ConfigScaleOut' || action == 'ConfigScaleIn'){ filterValue= templateId } else if(action == 'Configure' || action == 'ConfigModify' || action == 'DistributeTraffic' || action == 'DistributeTrafficCheck'){ filterValue= newVnfc } - if (action == 'ConfigScaleOut') { + if (action == 'ConfigScaleOut' || action == 'ConfigScaleIn' ) { let x = value.filter(obj => { //return value return obj['template-id'] == filterValue; |