Skip to content

Commit

Permalink
fix(ui): module detail page would not load when on pre-release versio…
Browse files Browse the repository at this point in the history
…ns in database

updated the module versions query to always include pre-release versions
  • Loading branch information
Dylan Bourque committed Mar 27, 2023
1 parent 8a3f74c commit daa1902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/web/js/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const listModules = async () => {

const getModuleVersions = (module) => {
return fetch(
`${apiBase}/module-versions?module_name=${module}&version_option=all`
`${apiBase}/module-versions?module_name=${module}&version_option=all&include_prerelease=true`
)
.then((resp) => resp.json())
.then((data) => {
Expand Down

0 comments on commit daa1902

Please sign in to comment.