mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Fix homesection programs button to go to correct page
This commit is contained in:
parent
b592abbeff
commit
5f80642193
@ -684,7 +684,8 @@ define(['connectionManager', 'cardBuilder', 'appSettings', 'dom', 'apphost', 'la
|
||||
}
|
||||
|
||||
html += '<a style="margin-left:.8em;margin-right:0;" is="emby-linkbutton" href="' + appRouter.getRouteUrl('livetv', {
|
||||
serverId: apiClient.serverId()
|
||||
serverId: apiClient.serverId(),
|
||||
section: 'programs'
|
||||
}) + '" class="raised"><span>' + globalize.translate('Programs') + '</span></a>';
|
||||
|
||||
html += '<a style="margin-left:.5em;margin-right:0;" is="emby-linkbutton" href="' + appRouter.getRouteUrl('livetv', {
|
||||
|
@ -1012,6 +1012,10 @@ var AppInfo = {};
|
||||
}
|
||||
|
||||
if ("livetv" === item) {
|
||||
if ("programs" === options.section) {
|
||||
return "livetv.html?tab=0&serverId=" + options.serverId;
|
||||
}
|
||||
|
||||
if ("guide" === options.section) {
|
||||
return "livetv.html?tab=1&serverId=" + options.serverId;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user