From 867bff99e580d0eaf55ab58451ce294c2db4b36a Mon Sep 17 00:00:00 2001 From: Nick Krantz Date: Wed, 25 Sep 2024 14:26:38 -0500 Subject: [PATCH] remove duplicate check --- apps/web/src/app/vault/org-vault/vault.component.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 47850d90371..77caa32c47a 100644 --- a/apps/web/src/app/vault/org-vault/vault.component.ts +++ b/apps/web/src/app/vault/org-vault/vault.component.ts @@ -885,7 +885,7 @@ export class VaultComponent implements OnInit, OnDestroy { /** * Edit a cipher using the new AddEditCipherDialogV2 component. - * Only to be used behind the ExtenstionRefresh feature flag. + * Only to be used behind the ExtensionRefresh feature flag. */ private async editCipherIdV2(cipherId: CipherId, cloneCipher: boolean) { const cipherFormConfig = await this.cipherFormConfigService.buildConfig( @@ -899,11 +899,6 @@ export class VaultComponent implements OnInit, OnDestroy { const result: AddEditCipherDialogCloseResult = await firstValueFrom(dialogRef.closed); - // Refresh the vault if the dialog was closed by adding, editing, or deleting a cipher. - if (result?.action === AddEditCipherDialogResult.Edited) { - this.refresh(); - } - // View the cipher if the dialog was closed by editing the cipher. if (result?.action === AddEditCipherDialogResult.Edited) { this.refresh();