Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

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.ts
index 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)(LitElem
attributeTable.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 table
const arr = headers.map((attributeName) => {
return asset.attributes![attributeName] ? asset.attributes![attributeName].value! as string : "";
});