Merge pull request #3415 from dmitrylyzo/fix-hometab-focus

Fix focus on Home tab
This commit is contained in:
Bill Thornton 2022-02-21 00:26:35 -05:00 committed by GitHub
commit d034ca5ea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,8 +73,7 @@ import ServerConnections from '../ServerConnections';
return Promise.all(promises).then(function () { return Promise.all(promises).then(function () {
return resume(elem, { return resume(elem, {
refresh: true, refresh: true
returnPromise: false
}); });
}); });
} else { } else {
@ -127,10 +126,7 @@ import ServerConnections from '../ServerConnections';
promises.push(elems[i].resume(options)); promises.push(elems[i].resume(options));
} }
const promise = Promise.all(promises); return Promise.all(promises);
if (!options || options.returnPromise !== false) {
return promise;
}
} }
function loadSection(page, apiClient, user, userSettings, userViews, allSections, index) { function loadSection(page, apiClient, user, userSettings, userViews, allSections, index) {