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: Await file promises when reading controller user templates #734

Merged

Conversation

leonardvdj
Copy link
Contributor

The commit 7620d9e introduced async reading of controller user template files.
However, the promises were never resolved, leading to every user template being filtered out by the subsequent filter.

This PR fixes that by wrapping the mapping in a Promise.all call.

Likely closes #722.

@cbartondock
Copy link
Collaborator

Brilliant, thank you!

@cbartondock cbartondock merged commit 40d78c7 into SteamGridDB:master Dec 23, 2024
3 checks passed
@leonardvdj leonardvdj deleted the fix/controller-user-templates branch December 25, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] User controller templates not appearing in steam deck template dropdown options
2 participants