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
Flow Rules wiring not removed anymore during user changes (#1849)
Martin Peetersbe6d375fa931
diff --git a/ui/component/or-rules/src/flow-viewer/services/project.ts b/ui/component/or-rules/src/flow-viewer/services/project.tsindex 09edad23f..a00c5d05b 100644--- a/ui/component/or-rules/src/flow-viewer/services/project.ts+++ b/ui/component/or-rules/src/flow-viewer/services/project.ts@@ -221,7 +221,7 @@ export class Project extends EventEmitter {}public removeInvalidConnections() {- for (const c of this.connections.map(c => this.enrichConnection(c)).filter(async (j) => !(this.isValidConnection(j)))) {+ for (const c of this.connections.map(c => this.enrichConnection(c)).filter(j => !this.isValidConnection(j))) {this.removeConnection(c);}}