1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-30 00:03:30 +00:00

add missing focus configuration

This commit is contained in:
Vicki League
2026-01-16 14:51:05 -05:00
parent cd31bb747b
commit 143cf0e8ac

View File

@@ -902,7 +902,10 @@ export class VaultComponent<C extends CipherViewLike> implements OnInit, OnDestr
*/
async editCipherAttachments(cipher: C) {
if (cipher?.reprompt !== 0 && !(await this.passwordRepromptService.showPasswordPrompt())) {
await this.go({ cipherId: null, itemId: null });
await this.go(
{ cipherId: null, itemId: null },
this.configureRouterFocusToCipher(typeof cipher?.id === "string" ? cipher.id : undefined),
);
return;
}