1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +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" <app-vault-add-edit id="details"
*ngIf="action === 'add' || action === 'edit'" *ngIf="action === 'add' || action === 'edit'"
[folderId]="action === 'add' && folderId !== 'none' ? folderId : null" [folderId]="action === 'add' && folderId !== 'none' ? folderId : null"
[type]="action === 'add' ? addType : null" [type]="action === 'add' ? (addType ? addType : type) : null"
[cipherId]="action === 'edit' ? cipherId : null" [cipherId]="action === 'edit' ? cipherId : null"
(onSavedCipher)="savedCipher($event)" (onSavedCipher)="savedCipher($event)"
(onDeletedCipher)="deletedCipher($event)" (onDeletedCipher)="deletedCipher($event)"