|
|
|
@ -1,4 +1,4 @@ |
|
|
|
import { Component } from '@angular/core'; |
|
|
|
import { Component, inject } from '@angular/core'; |
|
|
|
import { FormControl, ReactiveFormsModule } from '@angular/forms'; |
|
|
|
import { MatButtonModule } from '@angular/material/button'; |
|
|
|
import { MatDialogModule, MatDialogRef } from '@angular/material/dialog'; |
|
|
|
@ -26,7 +26,8 @@ export class GfPromptDialogComponent { |
|
|
|
public title: string; |
|
|
|
public valueLabel?: string; |
|
|
|
|
|
|
|
public constructor(public dialogRef: MatDialogRef<GfPromptDialogComponent>) {} |
|
|
|
protected readonly dialogRef = |
|
|
|
inject<MatDialogRef<GfPromptDialogComponent>>(MatDialogRef); |
|
|
|
|
|
|
|
public initialize(aParams: PromptDialogParams) { |
|
|
|
this.confirmLabel = aParams.confirmLabel; |
|
|
|
|