List charts from namespace correctly
This commit is contained in:
parent
7bf1de86be
commit
09470d125a
@ -63,7 +63,7 @@
|
|||||||
response.json().then(function(data) {
|
response.json().then(function(data) {
|
||||||
if (data != 'EMPTY') {
|
if (data != 'EMPTY') {
|
||||||
var optionHTML = '';
|
var optionHTML = '';
|
||||||
for (var chart of data.Releases) {
|
for (var chart of data) {
|
||||||
optionHTML += '<option value="' + chart.name + '">' + chart.name + '</option>';
|
optionHTML += '<option value="' + chart.name + '">' + chart.name + '</option>';
|
||||||
}
|
}
|
||||||
chartSelect.innerHTML = optionHTML;
|
chartSelect.innerHTML = optionHTML;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user