removed base dialog from help mode dialog
This commit is contained in:
parent
5cc09f251e
commit
b7c8634407
@ -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<HelpModeDialogComponent>) {
|
||||
super(_dialogRef);
|
||||
}
|
||||
// constructor(protected readonly _dialogRef: MatDialogRef<HelpModeDialogComponent>) {
|
||||
// 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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user