mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-23 21:28:47 +00:00
20 lines
605 B
TypeScript
20 lines
605 B
TypeScript
import { Component, Inject } from '@angular/core';
|
|
import {
|
|
MatLegacyDialogRef as MatDialogRef,
|
|
MAT_LEGACY_DIALOG_DATA as MAT_DIALOG_DATA,
|
|
} from '@angular/material/legacy-dialog';
|
|
|
|
@Component({
|
|
selector: 'cnsl-app-secret-dialog',
|
|
templateUrl: './app-secret-dialog.component.html',
|
|
styleUrls: ['./app-secret-dialog.component.scss'],
|
|
})
|
|
export class AppSecretDialogComponent {
|
|
public copied: string = '';
|
|
constructor(public dialogRef: MatDialogRef<AppSecretDialogComponent>, @Inject(MAT_DIALOG_DATA) public data: any) {}
|
|
|
|
public closeDialog(): void {
|
|
this.dialogRef.close(false);
|
|
}
|
|
}
|