Skip to content

Commit

Permalink
Show component type at top of attribute menu
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Marston <[email protected]>
  • Loading branch information
richardmarston committed Aug 8, 2022
1 parent 098dff9 commit 802b26f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cimmenu/src/cimmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class cimmenu {
let renderClass = cgmes[templatePath + "_js"];
if (renderClass) {
let data = renderClass.renderAsClass(attributes, this);
cimmenu.populatePanelWithData(node, data, "Attributes");
cimmenu.populatePanelWithData(node, data, type.substring(4) + " Attributes");
}
else {
console.error("Couldn't find renderClass: ", templatePath, " in templates.");
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
</div>
<div id="right-panel" class="vertical-menu">
<div class="floating-panel-table">
<div class="floating-panel-title center-button"> </div>
<div class="floating-menu-list"> </div>
</div>
</div>
Expand Down

0 comments on commit 802b26f

Please sign in to comment.