mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
use BrowserApi.getTab in place of chrome.tabs.get (#16370)
This commit is contained in:
@@ -329,8 +329,9 @@ export class ViewV2Component {
|
||||
case UPDATE_PASSWORD: {
|
||||
const repromptSuccess = await this.passwordRepromptService.showPasswordPrompt();
|
||||
|
||||
const tab = await BrowserApi.getTab(senderTabId);
|
||||
await sendExtensionMessage("bgHandleReprompt", {
|
||||
tab: await chrome.tabs.get(senderTabId),
|
||||
tab,
|
||||
success: repromptSuccess,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user