mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-24 11:55:50 +01:00
hide vault content when modal showing
This commit is contained in:
parent
a01b38fae9
commit
adff98e55a
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit e5d6861662967f6cc8ed33d81600cfabd9120fa0
|
||||
Subproject commit c63ff4485eb8a0ff5b4e5c8ef3c851f4ca056646
|
@ -1,4 +1,4 @@
|
||||
<div id="vault">
|
||||
<div id="vault" attr.aria-hidden="{{showingModal}}">
|
||||
<app-vault-groupings id="groupings" (onAllClicked)="clearGroupingFilters()" (onFavoritesClicked)="filterFavorites()"
|
||||
(onCipherTypeClicked)="filterCipherType($event)" (onFolderClicked)="filterFolder($event.id)"
|
||||
(onAddFolder)="addFolder()" (onEditFolder)="editFolder($event.id)"
|
||||
@ -24,7 +24,8 @@
|
||||
<div id="logo" *ngIf="action !== 'add' && action !== 'edit' && action !== 'view'">
|
||||
<div class="content">
|
||||
<div class="inner-content">
|
||||
<img class="logo-image" />
|
||||
<img class="logo-image" alt="Bitwarden" aria-hidden="true" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -35,4 +36,3 @@
|
||||
<ng-template #folderAddEdit></ng-template>
|
||||
<ng-template #passwordHistory></ng-template>
|
||||
<ng-template #exportVault></ng-template>
|
||||
</div>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user