mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
hide vault content when modal showing
This commit is contained in:
@@ -71,6 +71,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
||||
addType: CipherType = null;
|
||||
addOrganizationId: string = null;
|
||||
addCollectionIds: string[] = null;
|
||||
showingModal = false;
|
||||
|
||||
private modal: ModalComponent = null;
|
||||
|
||||
@@ -142,6 +143,12 @@ export class VaultComponent implements OnInit, OnDestroy {
|
||||
case 'refreshCiphers':
|
||||
this.ciphersComponent.refresh();
|
||||
break;
|
||||
case 'modalShown':
|
||||
this.showingModal = true;
|
||||
break;
|
||||
case 'modalClosed':
|
||||
this.showingModal = false;
|
||||
break;
|
||||
default:
|
||||
detectChanges = false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user