diff --git a/modules/ui/src/app/components/version/consent-dialog/consent-dialog.component.ts b/modules/ui/src/app/components/version/consent-dialog/consent-dialog.component.ts index 4e00f22a2..61b2a119d 100644 --- a/modules/ui/src/app/components/version/consent-dialog/consent-dialog.component.ts +++ b/modules/ui/src/app/components/version/consent-dialog/consent-dialog.component.ts @@ -14,7 +14,6 @@ * limitations under the License. */ import { Component, Inject } from '@angular/core'; -import { EscapableDialogComponent } from '../../escapable-dialog/escapable-dialog.component'; import { MAT_DIALOG_DATA, MatDialogModule, @@ -35,14 +34,12 @@ type DialogData = Version; templateUrl: './consent-dialog.component.html', styleUrl: './consent-dialog.component.scss', }) -export class ConsentDialogComponent extends EscapableDialogComponent { +export class ConsentDialogComponent { public readonly CalloutType = CalloutType; constructor( - public override dialogRef: MatDialogRef, + public dialogRef: MatDialogRef, @Inject(MAT_DIALOG_DATA) public data: DialogData - ) { - super(dialogRef); - } + ) {} confirm() { this.dialogRef.close(true);