diff --git a/apps/web/src/app/vault/individual-vault/vault.component.ts b/apps/web/src/app/vault/individual-vault/vault.component.ts index aac686f21a..f404394042 100644 --- a/apps/web/src/app/vault/individual-vault/vault.component.ts +++ b/apps/web/src/app/vault/individual-vault/vault.component.ts @@ -627,12 +627,14 @@ export class VaultComponent implements OnInit, OnDestroy { } async addCipher(cipherType?: CipherType) { + const type = cipherType ?? this.activeFilter.cipherType; + if (this.extensionRefreshEnabled) { - return this.addCipherV2(cipherType); + return this.addCipherV2(type); } const component = (await this.editCipher(null)) as AddEditComponent; - component.type = cipherType || this.activeFilter.cipherType; + component.type = type; if ( this.activeFilter.organizationId !== "MyVault" && this.activeFilter.organizationId != null