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
check if not empty array
Vincenta0f1849d8d00
diff --git a/ui/component/or-attribute-card/src/index.ts b/ui/component/or-attribute-card/src/index.tsindex 5c023f276..f6a16b949 100644--- a/ui/component/or-attribute-card/src/index.ts+++ b/ui/component/or-attribute-card/src/index.ts@@ -273,7 +273,7 @@ export class OrAttributeCard extends LitElement {recursive: false});- if (response.status !== 200 || !response.data) {+ if (response.status !== 200 || !response.data || !response.data.length) {return {};}