1
0
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:
Kyle Spearrin
2019-04-02 09:02:31 -04:00
parent a01b38fae9
commit adff98e55a
3 changed files with 17 additions and 10 deletions

View File

@@ -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;