Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Dec 17, 2024
1 parent 0bcd854 commit b06b198
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 b06b198

Please sign in to comment.