mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-26 14:28:46 +00:00
fix(console): rm mfa link, policy issues, consistency for table spacing (#585)
* rm console.logs * fix application table * fix project table padding * rm user mfa link * disable policy saving without desc * lint
This commit is contained in:
@@ -176,8 +176,6 @@ export class OrgCreateComponent {
|
||||
}
|
||||
|
||||
public changeSelf(change: MatSlideToggleChange): void {
|
||||
console.log(change.checked);
|
||||
|
||||
if (change.checked) {
|
||||
this.createSteps = 1;
|
||||
|
||||
@@ -195,7 +193,6 @@ export class OrgCreateComponent {
|
||||
}
|
||||
|
||||
public createOrgForSelf(): void {
|
||||
console.log('create for self');
|
||||
if (this.name && this.name.value) {
|
||||
this.orgService.CreateOrg(this.name.value).then((org) => {
|
||||
this.router.navigate(['orgs', org.toObject().id]);
|
||||
|
||||
@@ -185,16 +185,10 @@ export class OrgDetailComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
public verifyDomain(domain: OrgDomainView.AsObject): void {
|
||||
const dialogRef = this.dialog.open(DomainVerificationComponent, {
|
||||
this.dialog.open(DomainVerificationComponent, {
|
||||
data: {
|
||||
domain: domain,
|
||||
},
|
||||
});
|
||||
|
||||
dialogRef.afterClosed().subscribe(resp => {
|
||||
if (resp) {
|
||||
console.log(resp);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,7 +62,6 @@ export class OrgMembersComponent implements AfterViewInit {
|
||||
}
|
||||
|
||||
updateRoles(member: OrgMemberView.AsObject, selectionChange: MatSelectChange): void {
|
||||
console.log(member.userId, selectionChange.value);
|
||||
this.orgService.ChangeMyOrgMember(member.userId, selectionChange.value)
|
||||
.then((newmember: OrgMember) => {
|
||||
this.toast.showInfo('ORG.TOAST.MEMBERCHANGED', true);
|
||||
|
||||
@@ -130,6 +130,7 @@
|
||||
|
||||
<div class="btn-container">
|
||||
<button (click)="savePolicy()" color="primary" type="submit"
|
||||
[disabled]="(policyType === PolicyComponentType?.COMPLEXITY && !complexityData?.description) || (policyType === PolicyComponentType?.IAM_POLICY && !iamData?.description)"
|
||||
mat-raised-button>{{ 'ACTIONS.SAVE' | translate }}</button>
|
||||
</div>
|
||||
</app-detail-layout>
|
||||
Reference in New Issue
Block a user