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

Fix latest tab links for tv and music

This commit is contained in:
Bill Thornton 2021-01-02 00:23:43 -05:00
parent fa13193ef0
commit fa24242a3e

View file

@ -821,14 +821,20 @@ class AppRouter {
url = '#!/tv.html?topParentId=' + item.Id;
if (options && options.section === 'latest') {
url += '&tab=2';
url += '&tab=1';
}
return url;
}
if (item.CollectionType == 'music') {
return '#!/music.html?topParentId=' + item.Id;
url = '#!/music.html?topParentId=' + item.Id;
if (options?.section === 'latest') {
url += '&tab=1';
}
return url;
}
}