mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix tv program cards
This commit is contained in:
parent
29f5388ae5
commit
0467a94a3d
5 changed files with 26 additions and 18 deletions
|
@ -426,6 +426,9 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
|
|||
|
||||
function getCardImageUrl(item, apiClient, options) {
|
||||
|
||||
var imageItem = item.ProgramInfo || item;
|
||||
item = imageItem;
|
||||
|
||||
var width = options.width;
|
||||
var height = null;
|
||||
var primaryImageAspectRatio = imageLoader.getPrimaryImageAspectRatio([item]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue