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
Add statement to load node assets if empty list
Robin Dekkersf4eec0b1a196
diff --git a/ui/component/or-asset-tree/src/index.ts b/ui/component/or-asset-tree/src/index.tsindex 5b6740815..2d27efafd 100644--- a/ui/component/or-asset-tree/src/index.ts+++ b/ui/component/or-asset-tree/src/index.ts@@ -347,7 +347,7 @@ export class OrAssetTree extends subscribe(manager)(LitElement) {this._nodes = undefined;}- if (!this._nodes) {+ if (!this._nodes || this._nodes.length === 0) {this._loadAssets();return true;}