mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-03 18:28:13 +01:00
return promise on safari send message
This commit is contained in:
parent
bb2b750905
commit
347b1d2910
@ -81,7 +81,7 @@ class BrowserApi {
|
|||||||
return BrowserApi.tabSendMessage(tab, obj);
|
return BrowserApi.tabSendMessage(tab, obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
static tabSendMessage(tab: any, obj: any): Promise<any[]> {
|
static tabSendMessage(tab: any, obj: any): Promise<any> {
|
||||||
if (!tab || !tab.id) {
|
if (!tab || !tab.id) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -93,7 +93,7 @@ class BrowserApi {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
} else if (BrowserApi.isSafariApi) {
|
} else if (BrowserApi.isSafariApi) {
|
||||||
// TODO
|
return Promise.resolve(); // TODO
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user