diff --git a/src/lib/help-mode/help-mode-dialog/help-mode-dialog.component.ts b/src/lib/help-mode/help-mode-dialog/help-mode-dialog.component.ts index d3c0ef4..935eccf 100644 --- a/src/lib/help-mode/help-mode-dialog/help-mode-dialog.component.ts +++ b/src/lib/help-mode/help-mode-dialog/help-mode-dialog.component.ts @@ -1,6 +1,4 @@ import { ChangeDetectionStrategy, Component, OnDestroy, OnInit } from '@angular/core'; -import { BaseDialogComponent } from '../../dialog'; -import { MatDialogRef } from '@angular/material/dialog'; const HIGHER_CDK_OVERLAY_CONTAINER_ZINDEX = '1200'; const DEFAULT_CDK_OVERLAY_CONTAINER_ZINDEX = '800'; @@ -10,12 +8,12 @@ const DEFAULT_CDK_OVERLAY_CONTAINER_ZINDEX = '800'; styleUrls: ['./help-mode-dialog.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, }) -export class HelpModeDialogComponent extends BaseDialogComponent implements OnInit, OnDestroy { +export class HelpModeDialogComponent implements OnInit, OnDestroy { protected doNotShowAgainOption = false; - constructor(protected readonly _dialogRef: MatDialogRef) { - super(_dialogRef); - } + // constructor(protected readonly _dialogRef: MatDialogRef) { + // super(_dialogRef); + // } ngOnInit(): void { this._setCdkOverlayContainerZIndex(HIGHER_CDK_OVERLAY_CONTAINER_ZINDEX); @@ -34,7 +32,7 @@ export class HelpModeDialogComponent extends BaseDialogComponent implements OnIn } close() { - return this._dialogRef.close(this.doNotShowAgainOption); + // return this._dialogRef.close(this.doNotShowAgainOption); } private _setCdkOverlayContainerZIndex(zIndex: string): void {