mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #5319 from jellyfin/update-jf-sdk
This commit is contained in:
commit
95b33de6bb
3 changed files with 9 additions and 9 deletions
|
@ -34,7 +34,7 @@ const SearchSuggestions: FunctionComponent<SearchSuggestionsProps> = ({ parentId
|
|||
useEffect(() => {
|
||||
if (api && user?.Id) {
|
||||
getItemsApi(api)
|
||||
.getItemsByUserId({
|
||||
.getItems({
|
||||
userId: user.Id,
|
||||
sortBy: [ItemSortBy.IsFavoriteOrLiked, ItemSortBy.Random],
|
||||
includeItemTypes: [BaseItemKind.Movie, BaseItemKind.Series, BaseItemKind.MusicArtist],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue