Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error when creating scene queue of single item #1674

Merged
merged 2 commits into from
Aug 26, 2021

Conversation

gitgiggety
Copy link
Contributor

As the title says :)

When selecting a single scene and using "Play selected" a JavaScript error is triggered. This due to parsed.qs not being an array and thus not having a map method. So handle this scenario by creating an array of the single value.

@WithoutPants WithoutPants added the bug Something isn't working label Aug 25, 2021
@WithoutPants WithoutPants added this to the Version 0.9.0 milestone Aug 25, 2021
@WithoutPants WithoutPants merged commit 3f888a0 into stashapp:develop Aug 26, 2021
@gitgiggety gitgiggety deleted the fix-single-item-queue branch August 30, 2021 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants