Skip to content

armgit / core

Public Imported from GitHub
0

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

UI updates: Minor bug fix for flow rules editor (Fixes #259)

Rich Turnercdea1e09bbe5
diff --git a/ui/component/or-rules/src/flow-viewer/components/internal-picker.ts b/ui/component/or-rules/src/flow-viewer/components/internal-picker.ts
index 201712a09..ecdd24234 100644
--- a/ui/component/or-rules/src/flow-viewer/components/internal-picker.ts
+++ b/ui/component/or-rules/src/flow-viewer/components/internal-picker.ts
@@ -83,7 +83,7 @@ export class InternalPicker extends translate(i18next)(LitElement) {
}
private get assetTreeTemplate() {
- return html`<or-asset-tree @or-asset-tree-request-select="${(e: OrAssetTreeRequestSelectionEvent) => {
+ return html`<or-asset-tree @or-asset-tree-request-selection="${(e: OrAssetTreeRequestSelectionEvent) => {
if (!e.detail.detail || e.detail.detail.newNodes.length !== 1) {
e.detail.allow = false;
return;