mirror of
https://github.com/bitwarden/browser
synced 2025-12-25 20:53:22 +00:00
highlight active cipher and default folder for add
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
(onCollectionClicked)="filterCollection($event.id)">
|
||||
</app-vault-groupings>
|
||||
<app-vault-ciphers id="items"
|
||||
[activeCipherId]="cipherId"
|
||||
(onCipherClicked)="viewCipher($event)"
|
||||
(onAddCipher)="addCipher($event)">
|
||||
</app-vault-ciphers>
|
||||
@@ -17,7 +18,7 @@
|
||||
</app-vault-view>
|
||||
<app-vault-add-edit id="details"
|
||||
*ngIf="action === 'add' || action === 'edit'"
|
||||
[folderId]="null"
|
||||
[folderId]="action === 'add' && folderId !== 'none' ? folderId : null"
|
||||
[cipherId]="action === 'edit' ? cipherId : null"
|
||||
(onSavedCipher)="savedCipher($event)"
|
||||
(onDeletedCipher)="deletedCipher($event)"
|
||||
|
||||
Reference in New Issue
Block a user