fix: IDP login button styles (#869)

* fix: styling type on idp

* fix: google styling

* fix: google styling

* fix: google styling

* fix: remove logo src from angular

* fix: pr requests

* fix drop column migration

* fix: drop column migration

* fix: grant id
This commit is contained in:
Fabi
2020-10-19 17:10:02 +02:00
committed by GitHub
parent bb9747923c
commit 4eb380a825
43 changed files with 19230 additions and 10514 deletions
@@ -12,10 +12,6 @@
<mat-label>{{ 'IDP.NAME' | translate }}</mat-label>
<input matInput formControlName="name" />
</mat-form-field>
<!--<mat-form-field appearance="outline" class="formfield">
<mat-label>{{ 'IDP.LOGOSRC' | translate }}</mat-label>
<input matInput formControlName="logoSrc" />
</mat-form-field>-->
</div>
</ng-container>
@@ -92,4 +88,4 @@
</ng-container>
</div>
</app-detail-layout>
</app-detail-layout>
@@ -50,7 +50,6 @@ export class IdpComponent implements OnInit, OnDestroy {
this.idpForm = new FormGroup({
id: new FormControl({ disabled: true, value: '' }, [Validators.required]),
name: new FormControl('', [Validators.required]),
logoSrc: new FormControl({ disabled: true, value: '' }, [Validators.required]),
});
this.oidcConfigForm = new FormGroup({
@@ -121,7 +120,6 @@ export class IdpComponent implements OnInit, OnDestroy {
req.setId(this.id?.value);
req.setName(this.name?.value);
req.setLogoSrc(this.logoSrc?.value);
this.service.UpdateIdp(req).then((idp) => {
this.toast.showInfo('IDP.TOAST.SAVED', true);
@@ -206,10 +204,6 @@ export class IdpComponent implements OnInit, OnDestroy {
return this.idpForm.get('name');
}
public get logoSrc(): AbstractControl | null {
return this.idpForm.get('logoSrc');
}
public get clientId(): AbstractControl | null {
return this.oidcConfigForm.get('clientId');
}