Fix search tab opening having some errors (#1004)
This commit is contained in:
parent
be952a1857
commit
db9ec4c449
@ -1289,8 +1289,8 @@ class Backend {
|
|||||||
|
|
||||||
const promises = [];
|
const promises = [];
|
||||||
for (const tab of tabs) {
|
for (const tab of tabs) {
|
||||||
const promise = this._getTabUrl(tab);
|
const promise = this._getTabUrl(tab.id);
|
||||||
promise.then(checkTabUrl);
|
promise.then((url) => checkTabUrl({url, tab}));
|
||||||
promises.push(promise);
|
promises.push(promise);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user