|
|
@ -18,9 +18,9 @@ export class GfAlertDialogComponent { |
|
|
protected readonly dialogRef = |
|
|
protected readonly dialogRef = |
|
|
inject<MatDialogRef<GfAlertDialogComponent>>(MatDialogRef); |
|
|
inject<MatDialogRef<GfAlertDialogComponent>>(MatDialogRef); |
|
|
|
|
|
|
|
|
public initialize(aParams: AlertDialogParams) { |
|
|
public initialize({ discardLabel, message, title }: AlertDialogParams) { |
|
|
this.discardLabel = aParams.discardLabel; |
|
|
this.discardLabel = discardLabel; |
|
|
this.message = aParams.message; |
|
|
this.message = message; |
|
|
this.title = aParams.title; |
|
|
this.title = title; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|