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 = [];
|
||||
for (const tab of tabs) {
|
||||
const promise = this._getTabUrl(tab);
|
||||
promise.then(checkTabUrl);
|
||||
const promise = this._getTabUrl(tab.id);
|
||||
promise.then((url) => checkTabUrl({url, tab}));
|
||||
promises.push(promise);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user