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:
@@ -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(() => {});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user