diff --git a/apps/web/src/app/vault/org-vault/vault.component.ts b/apps/web/src/app/vault/org-vault/vault.component.ts index 77caa32c47a..a1d07345352 100644 --- a/apps/web/src/app/vault/org-vault/vault.component.ts +++ b/apps/web/src/app/vault/org-vault/vault.component.ts @@ -899,12 +899,11 @@ export class VaultComponent implements OnInit, OnDestroy { const result: AddEditCipherDialogCloseResult = await firstValueFrom(dialogRef.closed); - // View the cipher if the dialog was closed by editing the cipher. + // When the cipher was edited, refresh the vault view if (result?.action === AddEditCipherDialogResult.Edited) { this.refresh(); } - // Navigate to the vault if the dialog was closed by any other action. this.go({ cipherId: null, itemId: null, action: null }); }