diff --git a/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Dialogs/NodeBrowserDialog.razor b/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Dialogs/NodeBrowserDialog.razor index 60b442d6..d6263749 100644 --- a/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Dialogs/NodeBrowserDialog.razor +++ b/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Dialogs/NodeBrowserDialog.razor @@ -56,12 +56,24 @@ @* A button, not an href="javascript:void(0)" anchor: this selects a node rather than navigating, and the pseudo-href was a CSP/a11y smell. Matches the tree - label in TreeRow.razor. *@ - + label in TreeRow.razor. A node class the caller does + not accept renders as plain text — nothing to click. *@ + @if (IsSelectable(node.NodeClass)) + { + + @if (node.NodeClass == BrowseNodeClass.Object) + { + object + } + } + else + { + @node.DisplayName + } @if (!string.IsNullOrEmpty(node.DataType)) { @node.DataType @@ -90,7 +102,7 @@ } @@ -113,6 +125,10 @@ }