Fix search tab opening having some errors (#1004)

This commit is contained in:
toasted-nutbread 2020-11-07 22:43:14 -05:00 committed by GitHub
parent be952a1857
commit db9ec4c449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}