aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/shared/pipes/vm-filtering.pipe.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/shared/pipes/vm-filtering.pipe.ts')
-rw-r--r--src/app/shared/pipes/vm-filtering.pipe.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/shared/pipes/vm-filtering.pipe.ts b/src/app/shared/pipes/vm-filtering.pipe.ts
index eef39cf..6da7840 100644
--- a/src/app/shared/pipes/vm-filtering.pipe.ts
+++ b/src/app/shared/pipes/vm-filtering.pipe.ts
@@ -27,7 +27,7 @@ export class VmFilteringPipe implements PipeTransform {
let filterValue
if(action == 'ConfigScaleOut'){
filterValue= templateId
- } else if(action == 'Configure' || action == 'ConfigModify'){
+ } else if(action == 'Configure' || action == 'ConfigModify' || action == 'DistributeTraffic' || action == 'DistributeTrafficCheck'){
filterValue= newVnfc
}
if (action == 'ConfigScaleOut') {
@@ -38,7 +38,7 @@ export class VmFilteringPipe implements PipeTransform {
return x;
- } else if( action == 'Configure' || action == 'ConfigModify'){
+ } else if( action == 'Configure' || action == 'ConfigModify' || action == 'DistributeTraffic' || action == 'DistributeTrafficCheck'){
let x = value.filter(obj => {
//return value
return ( obj['vnfcType-id'] == filterValue || obj['vnfcType-id'] == undefined);