mirror of https://github.com/stashapp/stash.git
Fix error when creating scene queue of single item (#1674)
* Fix error when creating scene queue of single item
This commit is contained in:
parent
4c144db510
commit
3f888a0335
|
@ -26,6 +26,7 @@
|
||||||
* Added de-DE language option. ([#1578](https://github.com/stashapp/stash/pull/1578))
|
* Added de-DE language option. ([#1578](https://github.com/stashapp/stash/pull/1578))
|
||||||
|
|
||||||
### 🐛 Bug fixes
|
### 🐛 Bug fixes
|
||||||
|
* Fix Play Selected scene UI error when one scene is selected. ([#1674](https://github.com/stashapp/stash/pull/1674))
|
||||||
* Fix race condition panic when reading and writing config concurrently. ([#1645](https://github.com/stashapp/stash/issues/1343))
|
* Fix race condition panic when reading and writing config concurrently. ([#1645](https://github.com/stashapp/stash/issues/1343))
|
||||||
* Fix performance issue on Studios page getting studio image count. ([#1643](https://github.com/stashapp/stash/pull/1643))
|
* Fix performance issue on Studios page getting studio image count. ([#1643](https://github.com/stashapp/stash/pull/1643))
|
||||||
* Regenerate scene phash if overwrite flag is set. ([#1633](https://github.com/stashapp/stash/pull/1633))
|
* Regenerate scene phash if overwrite flag is set. ([#1633](https://github.com/stashapp/stash/pull/1633))
|
||||||
|
|
|
@ -103,7 +103,9 @@ export class SceneQueue {
|
||||||
ret.query = query;
|
ret.query = query;
|
||||||
} else if (parsed.qs) {
|
} else if (parsed.qs) {
|
||||||
// must be scene list
|
// must be scene list
|
||||||
ret.sceneIDs = parsed.qs.map((v) => Number(v));
|
ret.sceneIDs = Array.isArray(parsed.qs)
|
||||||
|
? parsed.qs.map((v) => Number(v))
|
||||||
|
: [Number(parsed.qs)];
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue