1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-28 17:27:50 +01:00

use type from grouping filter

This commit is contained in:
Kyle Spearrin 2018-02-20 08:23:56 -05:00
parent 698aa62180
commit fb3402dfef

View File

@ -23,7 +23,7 @@
<app-vault-add-edit id="details"
*ngIf="action === 'add' || action === 'edit'"
[folderId]="action === 'add' && folderId !== 'none' ? folderId : null"
[type]="action === 'add' ? addType : null"
[type]="action === 'add' ? (addType ? addType : type) : null"
[cipherId]="action === 'edit' ? cipherId : null"
(onSavedCipher)="savedCipher($event)"
(onDeletedCipher)="deletedCipher($event)"