mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #3415 from dmitrylyzo/fix-hometab-focus
Fix focus on Home tab
This commit is contained in:
commit
d034ca5ea0
1 changed files with 2 additions and 6 deletions
|
@ -73,8 +73,7 @@ import ServerConnections from '../ServerConnections';
|
|||
|
||||
return Promise.all(promises).then(function () {
|
||||
return resume(elem, {
|
||||
refresh: true,
|
||||
returnPromise: false
|
||||
refresh: true
|
||||
});
|
||||
});
|
||||
} else {
|
||||
|
@ -127,10 +126,7 @@ import ServerConnections from '../ServerConnections';
|
|||
promises.push(elems[i].resume(options));
|
||||
}
|
||||
|
||||
const promise = Promise.all(promises);
|
||||
if (!options || options.returnPromise !== false) {
|
||||
return promise;
|
||||
}
|
||||
return Promise.all(promises);
|
||||
}
|
||||
|
||||
function loadSection(page, apiClient, user, userSettings, userViews, allSections, index) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue