1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Increase amount of home sections from 7 to 10

This commit is contained in:
Niels van Velzen 2024-09-21 15:32:13 +02:00
parent 2d5b0eacff
commit a269dcbc10
3 changed files with 50 additions and 5 deletions

View file

@ -61,7 +61,7 @@ export function loadSections(elem, apiClient, user, userSettings) {
let html = '';
if (userViews.length) {
const userSectionCount = 7;
const userSectionCount = 10;
// TV layout can have an extra section to ensure libraries are visible
const totalSectionCount = layoutManager.tv ? userSectionCount + 1 : userSectionCount;
for (let i = 0; i < totalSectionCount; i++) {