[ADF-3941] Settings Page - SSO -> Identity Host is not visible when open the page for the first time (#4197)

* [ADF-3941] Show identityHost for both ECM and BPM

* [ADF-3941] Added test
This commit is contained in:
Deepak Paul
2019-01-23 20:42:45 +05:30
committed by Maurizio Vitale
parent b86a385c36
commit 44b18659a1
3 changed files with 23 additions and 11 deletions

View File

@@ -53,10 +53,15 @@
{{ 'CORE.HOST_SETTINGS.REQUIRED'| translate }}
</mat-error>
</mat-form-field>
<mat-form-field *ngIf="hasIdentity" class="adf-full-width" floatLabel="Identity Host">
</mat-card-content>
</ng-container>
<ng-container *ngIf="isOAUTH()">
<mat-card-content>
<mat-form-field class="adf-full-width" floatLabel="Identity Host">
<mat-label>Identity Host</mat-label>
<input matInput name="identityHost" id="identityHost" formControlName="identityHost"
placeholder="http(s)://host|ip:port(/path)">
placeholder="http(s)://host|ip:port(/path)">
<mat-error *ngIf="identityHost.hasError('pattern')">
{{ 'CORE.HOST_SETTINGS.NOT_VALID'| translate }}
</mat-error>