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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user