mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Update src/controllers/movies/movies.js
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
f52ac7a96d
commit
bb78451102
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ export default function (view, params, tabContent, options) {
|
|||
const newQuery = { ...query, SortBy: 'Random', Limit: 1 };
|
||||
return ApiClient.getItems(ApiClient.getCurrentUserId(), newQuery).then(({ Items }) => {
|
||||
playbackManager.shuffle(Items[0]);
|
||||
}).finally(() => {
|
||||
isLoading = false;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue