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