Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

UI fix: Corrected formatting of flow node titles (#1945)

DonWillems9188e36a8cdc
diff --git a/ui/component/or-rules/src/flow-viewer/components/node-menu-item.ts b/ui/component/or-rules/src/flow-viewer/components/node-menu-item.ts
index 2c4af6ac0..d764592a0 100644
--- a/ui/component/or-rules/src/flow-viewer/components/node-menu-item.ts
+++ b/ui/component/or-rules/src/flow-viewer/components/node-menu-item.ts
@@ -74,7 +74,7 @@ export class NodeMenuItem extends translate(i18next)(LitElement) {
if (this.node.displayCharacter) {
this.classList.add("small");
}
- this.title = i18next.t(this.node.name!, Utilities.humanLike(this.node.name!));
+ this.title = i18next.t(this.node.name!, Utilities.humanLike(this.node.name!.toLowerCase()));
return html`
<div class="label">${this.flowNodeName}</div>
${this.isDragging ? this.dragNodeTemplate : null}