100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
UI updates: - roll back the refresh on init flow-view - do a check if drawer is here before opening it
Vincent05d90e7928b8
diff --git a/ui/component/or-rules/src/flow-viewer/components/node-panel.ts b/ui/component/or-rules/src/flow-viewer/components/node-panel.tsindex e004972f9..2ebe2513d 100644--- a/ui/component/or-rules/src/flow-viewer/components/node-panel.ts+++ b/ui/component/or-rules/src/flow-viewer/components/node-panel.ts@@ -55,7 +55,7 @@ export class NodePanel extends translate(i18next)(LitElement) {@property({ attribute: false }) public application!: FlowEditor;protected firstUpdated() {- this.drawer.open = true;+ if (this.drawer) this.drawer.open = true;}protected render() {diff --git a/ui/component/or-rules/src/or-rule-list.ts b/ui/component/or-rules/src/or-rule-list.tsindex 873241a6e..bd445bb21 100644--- a/ui/component/or-rules/src/or-rule-list.ts+++ b/ui/component/or-rules/src/or-rule-list.ts@@ -412,7 +412,6 @@ export class OrRuleList extends translate(i18next)(LitElement) {})).then((detail) => {if (detail.allow) {this.selectedIds = detail.detail.newNodes.map((node) => node.ruleset.id!);- this.refresh();}});}