mirror of
https://github.com/zitadel/zitadel.git
synced 2025-06-21 17:48:35 +00:00

* service, sidenav, i18n, dialog * detail layout, user detail * metadata dialog from * dialog * features * formarray * metadata component * comp * user metadata refresh * use formarray, control, bulk save * metadata revert, has feature directive * lint * lint * typo * info row user, warn color optim * card cleanup, actions for user detail * project, org, user, app rehaul * lint * scss * digit fix * features and project grid rehaul * info-section layout, org domain info * readd palette scss * add svg email warn * missing translation * rm unused ts * lockoutpolicy * check for lockout feature
20 lines
563 B
TypeScript
20 lines
563 B
TypeScript
import { Component, Inject } from '@angular/core';
|
|
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
|
|
|
@Component({
|
|
selector: 'app-name-dialog',
|
|
templateUrl: './name-dialog.component.html',
|
|
styleUrls: ['./name-dialog.component.scss'],
|
|
})
|
|
export class NameDialogComponent {
|
|
public name: string = '';
|
|
constructor(public dialogRef: MatDialogRef<NameDialogComponent>,
|
|
@Inject(MAT_DIALOG_DATA) public data: any) {
|
|
this.name = data.name ?? '';
|
|
}
|
|
|
|
closeDialog(name: string = ''): void {
|
|
this.dialogRef.close(name);
|
|
}
|
|
}
|