Skip to content

Commit

Permalink
Fix missing version picker on docs. (#843)
Browse files Browse the repository at this point in the history
* Fix missing ) for version picker

* Create 843.bugfix
  • Loading branch information
Half-Shot authored Nov 15, 2023
1 parent 527f6aa commit 6e36d73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/843.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix version picker on docs site not loading.
2 changes: 1 addition & 1 deletion docs/_site/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ window.addEventListener("load", () => {
res.json()
).then(releases => {
selectElement.innerHTML = "";
for (const version of ['latest', ...releases.map(r => r.tag_name).filter(s => s !== "0.1.0" && !s.startsWith("helm-")]) {
for (const version of ['latest', ...releases.map(r => r.tag_name).filter(s => s !== "0.1.0" && !s.startsWith("helm-"))]) {
const option = document.createElement("option");
option.innerHTML = version;
selectElement.add(option);
Expand Down

0 comments on commit 6e36d73

Please sign in to comment.