mirror of
https://github.com/bitwarden/browser
synced 2025-12-30 07:03:26 +00:00
[PM-29875] Close Send drawer on navigation (#18031)
This commit is contained in:
@@ -300,6 +300,11 @@ export class DialogService {
|
||||
return this.dialog.closeAll();
|
||||
}
|
||||
|
||||
/** Close the open drawer */
|
||||
closeDrawer(): void {
|
||||
return this.activeDrawer?.close();
|
||||
}
|
||||
|
||||
/** The injector that is passed to the opened dialog */
|
||||
private createInjector(opts: { data: unknown; dialogRef: DialogRef }): Injector {
|
||||
return Injector.create({
|
||||
|
||||
Reference in New Issue
Block a user