1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

highlight active cipher and default folder for add

This commit is contained in:
Kyle Spearrin
2018-01-29 17:57:58 -05:00
parent 6d23338aa4
commit 7d2d4eafcb
5 changed files with 17 additions and 10 deletions

View File

@@ -113,7 +113,7 @@ export class AddEditComponent implements OnChanges {
this.cipher = await cipher.decrypt();
} else {
this.cipher = new CipherView();
this.cipher.folderId = null; // TODO
this.cipher.folderId = this.folderId;
this.cipher.type = CipherType.Login;
this.cipher.login = new LoginView();
this.cipher.card = new CardView();