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
make to do for columnFilter
Vincent33869818017d
diff --git a/ui/component/or-asset-viewer/src/index.ts b/ui/component/or-asset-viewer/src/index.tsindex 956d67afe..d1ae9b0cf 100644--- a/ui/component/or-asset-viewer/src/index.ts+++ b/ui/component/or-asset-viewer/src/index.ts@@ -626,6 +626,8 @@ export class OrAssetViewer extends subscribe(manager)(translate(i18next)(LitElemattributeTable.headers = headers.map((header) => i18next.t(header));attributeTable.headers.unshift(i18next.t("groupAssetName"));attributeTable.rows = childAssets.map((asset) => {+ // todo: it's only processing including selected headers here...+ // move this to the columnFilter option of the tableconst arr = headers.map((attributeName) => {return asset.attributes![attributeName] ? asset.attributes![attributeName].value! as string : "";});