diff --git a/apps/web/src/app/admin-console/organizations/collections/vault.component.ts b/apps/web/src/app/admin-console/organizations/collections/vault.component.ts
index eb4e47e0ffd..f827dda9a9b 100644
--- a/apps/web/src/app/admin-console/organizations/collections/vault.component.ts
+++ b/apps/web/src/app/admin-console/organizations/collections/vault.component.ts
@@ -794,6 +794,9 @@ export class VaultComponent implements OnInit, OnDestroy {
case "viewEvents":
await this.viewEvents(event.item);
break;
+ case "editCipher":
+ await this.editCipher(event.item);
+ break;
}
} finally {
this.processingEvent$.next(false);
@@ -856,7 +859,7 @@ export class VaultComponent implements OnInit, OnDestroy {
* @param cipherView - When set, the cipher to be edited
* @param cloneCipher - `true` when the cipher should be cloned.
*/
- async editCipher(cipher: CipherView | undefined, cloneCipher: boolean) {
+ async editCipher(cipher: CipherView | undefined, cloneCipher?: boolean) {
if (
cipher &&
cipher.reprompt !== 0 &&
diff --git a/apps/web/src/app/vault/components/vault-items/vault-cipher-row.component.html b/apps/web/src/app/vault/components/vault-items/vault-cipher-row.component.html
index 43ce8530d55..c09553dab9c 100644
--- a/apps/web/src/app/vault/components/vault-items/vault-cipher-row.component.html
+++ b/apps/web/src/app/vault/components/vault-items/vault-cipher-row.component.html
@@ -169,10 +169,12 @@
-
+ @if (!viewingOrgVault) {
+
+ }