Skip to content

Commit 802b26f

Browse files
Show component type at top of attribute menu
Signed-off-by: Richard Marston <rmarston@eonerc.rwth-aachen.de>
1 parent 098dff9 commit 802b26f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cimmenu/src/cimmenu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ class cimmenu {
359359
let renderClass = cgmes[templatePath + "_js"];
360360
if (renderClass) {
361361
let data = renderClass.renderAsClass(attributes, this);
362-
cimmenu.populatePanelWithData(node, data, "Attributes");
362+
cimmenu.populatePanelWithData(node, data, type.substring(4) + " Attributes");
363363
}
364364
else {
365365
console.error("Couldn't find renderClass: ", templatePath, " in templates.");

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
</div>
5858
<div id="right-panel" class="vertical-menu">
5959
<div class="floating-panel-table">
60+
<div class="floating-panel-title center-button"> </div>
6061
<div class="floating-menu-list"> </div>
6162
</div>
6263
</div>

0 commit comments

Comments
 (0)