mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
[PM-15975] Prevent dialogs from overlapping interactive top menu bars (#13251)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
// FIXME: Update this file to be type safe and remove this and next line
|
||||
// @ts-strict-ignore
|
||||
import { DialogRef } from "@angular/cdk/dialog";
|
||||
import { CommonModule } from "@angular/common";
|
||||
import { Component } from "@angular/core";
|
||||
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
||||
@@ -35,7 +34,6 @@ export class CredentialGeneratorHistoryDialogComponent {
|
||||
private accountService: AccountService,
|
||||
private history: GeneratorHistoryService,
|
||||
private dialogService: DialogService,
|
||||
private dialogRef: DialogRef,
|
||||
) {
|
||||
this.accountService.activeAccount$
|
||||
.pipe(
|
||||
@@ -54,11 +52,6 @@ export class CredentialGeneratorHistoryDialogComponent {
|
||||
.subscribe(this.hasHistory$);
|
||||
}
|
||||
|
||||
/** closes the dialog */
|
||||
protected close() {
|
||||
this.dialogRef.close();
|
||||
}
|
||||
|
||||
/** Launches clear history flow */
|
||||
protected async clear() {
|
||||
const confirmed = await this.dialogService.openSimpleDialog({
|
||||
|
||||
Reference in New Issue
Block a user