mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Fix-LiveTV-Default Tab index
This commit is contained in:
parent
3a243aae1d
commit
866c58212c
@ -200,11 +200,20 @@ function setScrollClasses(elem, scrollX) {
|
||||
}
|
||||
|
||||
function getDefaultTabIndex(folderId) {
|
||||
if (userSettings.get('landing-' + folderId) === 'guide') {
|
||||
return 1;
|
||||
switch (userSettings.get('landing-' + folderId)) {
|
||||
case 'guide':
|
||||
return 1;
|
||||
case 'channels':
|
||||
return 2;
|
||||
case 'recordings':
|
||||
return 3;
|
||||
case 'schedule':
|
||||
return 4;
|
||||
case 'series':
|
||||
return 5;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
export default function (view, params) {
|
||||
|
Loading…
Reference in New Issue
Block a user