mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Removed unneeded calls to getSortValues on playbackManager calls that only play 1 item
This commit is contained in:
parent
ee791f9d0d
commit
4488a586a4
2 changed files with 2 additions and 30 deletions
|
@ -722,13 +722,11 @@ class ItemsView {
|
|||
|
||||
function play() {
|
||||
const currentItem = self.currentItem;
|
||||
const values = self.getSortValues();
|
||||
|
||||
if (currentItem && !self.hasFilters) {
|
||||
playbackManager.play({
|
||||
items: [currentItem],
|
||||
autoplay: true,
|
||||
queryOptions: values
|
||||
autoplay: true
|
||||
});
|
||||
} else {
|
||||
getItems(self, self.params, currentItem, null, 0, 300).then(function (result) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue