mirror of
https://github.com/zitadel/zitadel.git
synced 2025-04-16 08:41:30 +00:00

* fix idp table, settings reset warn dialog, fix i18n interceptor, i18n * fix label policy on org change * fallback * fix preview button styles * footer, login-policy null check * org create btn alignment * show error with toast * error toast
24 lines
714 B
TypeScript
24 lines
714 B
TypeScript
import { Component, Inject } from '@angular/core';
|
|
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
|
|
|
import { InfoSectionType } from '../info-section/info-section.component';
|
|
|
|
@Component({
|
|
selector: 'cnsl-warn-dialog',
|
|
templateUrl: './warn-dialog.component.html',
|
|
styleUrls: ['./warn-dialog.component.scss'],
|
|
})
|
|
export class WarnDialogComponent {
|
|
public confirm: string = '';
|
|
InfoSectionType: any = InfoSectionType;
|
|
constructor(public dialogRef: MatDialogRef<WarnDialogComponent>, @Inject(MAT_DIALOG_DATA) public data: any) {}
|
|
|
|
public closeDialog(): void {
|
|
this.dialogRef.close(false);
|
|
}
|
|
|
|
public closeDialogWithSuccess(): void {
|
|
this.dialogRef.close(true);
|
|
}
|
|
}
|