mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
implement suggestions
This commit is contained in:
parent
ad252c6df1
commit
c887e960aa
3 changed files with 4 additions and 9 deletions
|
@ -221,9 +221,7 @@ function updateNowPlayingInfo(context, state, serverId) {
|
||||||
item: fullItem,
|
item: fullItem,
|
||||||
user: user
|
user: user
|
||||||
}, options))
|
}, options))
|
||||||
.catch(function (err) {
|
.catch(() => { /* no-op */ });
|
||||||
console.debug('[remotecontrol:updateNowPlayingInfo] click event reject', err);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -129,9 +129,7 @@ function showContextMenu(card, options) {
|
||||||
notifyRefreshNeeded(card, options.itemsContainer);
|
notifyRefreshNeeded(card, options.itemsContainer);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(() => { /* no-op */ });
|
||||||
console.debug('[shortcuts.showContextMenu] itemContextMenu.show reject', err);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -1854,6 +1854,7 @@ export default function (view, params) {
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
console.error('failed to get item or current user: ', error);
|
console.error('failed to get item or current user: ', error);
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function splitVersions(instance, page, apiClient, pageParams) {
|
function splitVersions(instance, page, apiClient, pageParams) {
|
||||||
|
@ -1974,9 +1975,7 @@ export default function (view, params) {
|
||||||
reload(self, view, params);
|
reload(self, view, params);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(function(err) {
|
.catch(() => { /* no-op */ });
|
||||||
console.debug('[index:onMoreCommandsClick] reject', err);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue