Skip to content

Commit

Permalink
Merge pull request #607 from grycap/devel
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
micafer authored Dec 17, 2024
2 parents 99b2948 + 51b3e8b commit b4e1742
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/templates/createdep.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,10 @@ <h4 class="font-weight-bold text-primary">
for (var i = 0; i < data.length; i++) {
var option = "<option name='selectedCred' value='" + data[i]["id"] + "'";
if ("tenant_id" in data[i]) {
option = option + " data-tenant-id='" + data[i]["tenant_id"];
option = option + " data-tenant-id='" + data[i]["tenant_id"] + "'";
}
option = option + " data-type='" + data[i]["type"] + "'";
option = option + ">" + data[i]["id"] + "</option>"
console.log(option);
$('#selectedCred').append(option);
}
}
Expand Down

0 comments on commit b4e1742

Please sign in to comment.