mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
apply suggested changes from code review
This commit is contained in:
parent
2b547f5a53
commit
5d6756778b
3 changed files with 13 additions and 13 deletions
|
@ -14,7 +14,7 @@ import alert from '../alert';
|
|||
import { PluginType } from '../../types/plugin.ts';
|
||||
import { includesAny } from '../../utils/container.ts';
|
||||
import { getItems } from '../../utils/jellyfin-apiclient/getItems.ts';
|
||||
import { getItemBackdropImageUrl } from '../../utils/jellyfin-apiclient/BackdropImage';
|
||||
import { getItemBackdropImageUrl } from '../../utils/jellyfin-apiclient/backdropImage';
|
||||
|
||||
const UNLIMITED_ITEMS = -1;
|
||||
|
||||
|
@ -2672,7 +2672,7 @@ class PlaybackManager {
|
|||
title: item.Name
|
||||
};
|
||||
|
||||
const backdropUrl = getItemBackdropImageUrl(apiClient, item, true);
|
||||
const backdropUrl = getItemBackdropImageUrl(apiClient, item, {}, true);
|
||||
if (backdropUrl) {
|
||||
resultInfo.backdropUrl = backdropUrl;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue