1
0
mirror of https://github.com/bitwarden/jslib synced 2026-01-07 02:53:13 +00:00

Move encrypt to CipherView

This commit is contained in:
Hinton
2022-04-20 10:55:21 +02:00
parent f19e0bcbb5
commit a75962a49e
5 changed files with 10 additions and 12 deletions

View File

@@ -42,7 +42,7 @@ export class FolderAddEditComponent implements OnInit {
}
try {
const folder = await this.folderService.encrypt(this.folder);
const folder = await this.folder.encrypt(this.cryptoService);
this.formPromise = this.folderService.saveWithServer(folder);
await this.formPromise;
this.platformUtilsService.showToast(