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 update: clear selectedAttributes on change, since it would take previously selectedAttributes into a newly selected asset.
Vincentcbc43861f1b8
diff --git a/ui/component/or-asset-tree/src/or-add-asset-dialog.ts b/ui/component/or-asset-tree/src/or-add-asset-dialog.tsindex ad4b97b55..0cd9de22a 100644--- a/ui/component/or-asset-tree/src/or-add-asset-dialog.ts+++ b/ui/component/or-asset-tree/src/or-add-asset-dialog.ts@@ -308,6 +308,7 @@ export class OrAddAssetDialog extends LitElement {protected async onTypeChanged(isAgent: boolean, listItem: ListItem) {await this.requestUpdate();+ this.selectedAttributes = [];this.selectedType = listItem.data as AssetDescriptor | AgentDescriptor;// Deselect other list selection