mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 22:03:36 +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: {
|
case UPDATE_PASSWORD: {
|
||||||
const repromptSuccess = await this.passwordRepromptService.showPasswordPrompt();
|
const repromptSuccess = await this.passwordRepromptService.showPasswordPrompt();
|
||||||
|
|
||||||
|
const tab = await BrowserApi.getTab(senderTabId);
|
||||||
await sendExtensionMessage("bgHandleReprompt", {
|
await sendExtensionMessage("bgHandleReprompt", {
|
||||||
tab: await chrome.tabs.get(senderTabId),
|
tab,
|
||||||
success: repromptSuccess,
|
success: repromptSuccess,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user