1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

Re-focus to last open tab before user was prompted for log in

This commit is contained in:
Daniel James Smith
2021-10-11 17:46:43 +02:00
parent b74efc1dbf
commit 7f98ce347d
2 changed files with 8 additions and 0 deletions

View File

@@ -79,6 +79,10 @@ export default class RuntimeBackground {
await this.processMessage(retryItem.msg, retryItem.sender, null);
await BrowserApi.closeLoginTab();
if (retryItem?.sender?.tab?.id) {
await BrowserApi.focusSpecifiedTab(retryItem.sender.tab.id);
}
}
break;
case 'addToLockedVaultPendingNotifications':