1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 05:13:29 +00:00

set cipher form to partial edit for non edit permission (#14639)

This commit is contained in:
Jordan Aasen
2025-05-09 17:51:34 -07:00
committed by GitHub
parent 1b756df749
commit 23d4f04b22

View File

@@ -514,6 +514,9 @@ export class VaultV2Component implements OnInit, OnDestroy {
this.cipherId = cipher.id;
this.cipher = cipher;
await this.buildFormConfig("edit");
if (!cipher.edit && this.config) {
this.config.mode = "partial-edit";
}
this.action = "edit";
await this.go().catch(() => {});
}