Skip to content

Commit

Permalink
Explorer UI - review final small fixes
Browse files Browse the repository at this point in the history
Signed-off-by: thfries <thomas.fries0@gmail.com>
  • Loading branch information
thfries committed Jul 21, 2022
1 parent 3977ba2 commit a9f26fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ui/modules/environments/environments.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h5>Environments</h5>
<a class="nav-link active" data-bs-toggle="tab" data-bs-target="#tabEnvDetails">Environment Details</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="tab" data-bs-target="#tabEnvJson">Full JSON</a>
<a class="nav-link" data-bs-toggle="tab" data-bs-target="#tabEnvJson">Environment JSON</a>
</li>
</ul>
<div class="tab-content" style="flex-grow: 1; overflow: hidden;">
Expand Down
4 changes: 2 additions & 2 deletions ui/modules/things/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ function updateAttributesTable() {
dom.attributeValue.value = attributeToString(Things.theThing.attributes[path]);
thingHasAttribute = true;
};
Utils.addTableRow(dom.attributesTable, path, path === dom.attributePath.value), false,
attributeToString(Things.theThing.attributes[path]);
Utils.addTableRow(dom.attributesTable, path, path === dom.attributePath.value, false,
attributeToString(Things.theThing.attributes[path]));
count++;
});
};
Expand Down
2 changes: 1 addition & 1 deletion ui/modules/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function addClipboardCopyToRow(row) {
const button = document.createElement('button');
button.classList.add('btn', 'btn-sm');
button.style.padding = 0;
button.innerHTML = `<i class="bi bi-clipboard2-plus"></i>`;
button.innerHTML = `<i class="bi bi-clipboard"></i>`;
button.onclick = (evt) => {
const td = evt.currentTarget.parentNode.previousSibling;
navigator.clipboard.writeText(td.innerText);
Expand Down

0 comments on commit a9f26fc

Please sign in to comment.