mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix homesections in legacy browser
(cherry picked from commit d3e3bc7282
)
This commit is contained in:
parent
286bbcbebc
commit
5bb83fd185
1 changed files with 7 additions and 4 deletions
|
@ -69,11 +69,14 @@ export function loadSections(elem, apiClient, user, userSettings) {
|
|||
promises.push(loadSection(elem, apiClient, user, userSettings, userViews, sections, i));
|
||||
}
|
||||
|
||||
return Promise.all(promises).then(function () {
|
||||
return resume(elem, {
|
||||
refresh: true
|
||||
return Promise.all(promises)
|
||||
// Timeout for polyfilled CustomElements (webOS 1.2)
|
||||
.then(() => new Promise((resolve) => setTimeout(resolve, 0)))
|
||||
.then(() => {
|
||||
return resume(elem, {
|
||||
refresh: true
|
||||
});
|
||||
});
|
||||
});
|
||||
} else {
|
||||
let noLibDescription;
|
||||
if (user.Policy?.IsAdministrator) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue