Skip to content

Commit

Permalink
fix versiondropdown undefined for apps with multiple versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonnie39 committed Dec 27, 2023
1 parent fde41f4 commit c91b3ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion repo/app-details/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ <h1 class="page-header-appdetails">App Details</h1>
});
actionContainer.appendChild(downloadIPAButton);

const versionDropdown = document.createElement('select');
if(app.versions != null) {
const versionDropdown = document.createElement('select');

app.versions.forEach(version => {
const option = document.createElement('option');
option.value = version.version;
Expand Down

0 comments on commit c91b3ca

Please sign in to comment.