diff options
Diffstat (limited to 'src/app/vnfs/build-artifacts/parameter-definitions')
-rw-r--r-- | src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.html | 2 | ||||
-rw-r--r-- | src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.html b/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.html index 9cddc8e..2ff2b9b 100644 --- a/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.html +++ b/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.html @@ -49,7 +49,7 @@ limitations under the License. <div class="col-lg-3 col-sm-6 col-md-3 col-xs-12"> <label>Protocol</label><input class="form-control" type="text" disabled value="{{protocol}}" /> </div> - <div *ngIf="(action === 'ConfigScaleOut')" class="col-lg-3 col-sm-6 col-md-3 col-xs-12"> + <div *ngIf="(action === 'ConfigScaleOut' || action === 'ConfigScaleIn')" class="col-lg-3 col-sm-6 col-md-3 col-xs-12"> <label>Template Identifier</label><input class="form-control" type="text" disabled value="{{template_id}}" /> </div> </div> diff --git a/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts b/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts index ad0adf3..64f1159 100644 --- a/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts +++ b/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts @@ -142,7 +142,7 @@ export class ParameterComponent implements OnInit { console.log( this.clName+": "+methName+": have vnfcType:["+ this.vnfcType+"]"); } - if( this.action === 'ConfigScaleOut'){ + if( this.action === 'ConfigScaleOut' || this.action === 'ConfigScaleIn'){ // this.template_id = this.selectedActionReference.templateId; this.template_id = this.mappingEditorService.identifier; } |