mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #2293 from thornbill/wrong-latest-tab
Fix latest tab links for tv and music
(cherry picked from commit e5531c363b
)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
cde21b3ff2
commit
42b0b01a4e
1 changed files with 8 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue