mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added new item by name filters
This commit is contained in:
parent
48d1641783
commit
32386e817b
9 changed files with 62 additions and 105 deletions
|
@ -1,8 +1,8 @@
|
|||
(function ($, document, window) {
|
||||
|
||||
function loadPage(page, config, tvServices) {
|
||||
function loadPage(page, config, liveTvInfo) {
|
||||
|
||||
if (tvServices.length) {
|
||||
if (liveTvInfo.Services.length) {
|
||||
|
||||
$('.liveTvSettingsForm', page).show();
|
||||
$('.noLiveTvServices', page).hide();
|
||||
|
@ -25,7 +25,7 @@
|
|||
|
||||
var promise1 = ApiClient.getServerConfiguration();
|
||||
|
||||
var promise2 = ApiClient.getLiveTvServices();
|
||||
var promise2 = ApiClient.getLiveTvInfo();
|
||||
|
||||
$.when(promise1, promise2).done(function (response1, response2) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue