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 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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue