1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-08 03:23:50 +00:00

set org and collections on add based on filters

This commit is contained in:
Kyle Spearrin
2018-10-29 22:43:02 -04:00
parent fc18a361d9
commit 435cad12c7
4 changed files with 28 additions and 1 deletions

View File

@@ -24,6 +24,8 @@
<app-vault-add-edit id="details"
*ngIf="action === 'add' || action === 'edit'"
[folderId]="action === 'add' && folderId !== 'none' ? folderId : null"
[organizationId]="action === 'add' ? addOrganizationId : null"
[collectionIds]="action === 'add' ? addCollectionIds : null"
[type]="action === 'add' ? (addType ? addType : type) : null"
[cipherId]="action === 'edit' ? cipherId : null"
(onSavedCipher)="savedCipher($event)"