Skip to content

Commit

Permalink
Merge pull request #90 from acrosman/issue-66
Browse files Browse the repository at this point in the history
Fix Object 2 UL
  • Loading branch information
acrosman authored Apr 9, 2023
2 parents 1736685 + 3854407 commit b14747f
Show file tree
Hide file tree
Showing 4 changed files with 295 additions and 277 deletions.
2 changes: 1 addition & 1 deletion app/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ contextBridge.exposeInMainWorld(
'response_describe',
'response_describe_global',
'response_org_object_display',
'reponnse_org_limits',
'response_org_limits',
'response_permset_list',
'response_permset_detail',
'response_generic',
Expand Down
4 changes: 2 additions & 2 deletions app/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const object2ul = (data) => {
li.appendChild(object2ul(data[keys[i]]));
} else {
// append the text to the li.
li.appendChild(document.createTextNode(data[keys[i]]));
li.appendChild(document.createTextNode(`${keys[i]}: ${data[keys[i]]}`));
}
ul.appendChild(li); // append the list item to the ul
}
Expand Down Expand Up @@ -700,7 +700,7 @@ window.api.receive('response_org_object_display', (data) => {
});

// Org Limits Response Handler.
window.api.receive('reponnse_org_limits', (data) => {
window.api.receive('response_org_limits', (data) => {
document.getElementById('results-table-wrapper').style.display = 'none';
document.getElementById('results-object-viewer-wrapper').style.display = 'block';
displayRawResponse(data);
Expand Down
Loading

0 comments on commit b14747f

Please sign in to comment.