use type from grouping filter

This commit is contained in:
Kyle Spearrin 2018-02-20 08:23:56 -05:00
parent 698aa62180
commit fb3402dfef
1 changed files with 1 additions and 1 deletions

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)"