Skip to content

Commit

Permalink
fixed column label bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jzethofer committed Jun 25, 2024
1 parent 023703e commit 2cbf889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/panel/Hierarchy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ export default class Hierarchy {
node.appendChild(label);
const desc = node.ownerDocument.createElement('span');
if (summary.asHTML) {
label.innerHTML = summary.content;
desc.innerHTML = summary.content;
} else {
label.textContent = summary.content;
desc.textContent = summary.content;
}
node.appendChild(desc);
} else if (header.asHTML) {
Expand Down

0 comments on commit 2cbf889

Please sign in to comment.