From ecdd1358b8a1c7b3987979f4e3acebbd5c55a629 Mon Sep 17 00:00:00 2001 From: rusikv Date: Thu, 27 Jun 2024 15:51:24 +0300 Subject: [PATCH] UI: disabled filtering of attributes with empty string values for attribute talbe --- .../home/components/attribute/attribute-table.component.html | 1 + .../app/modules/home/models/datasource/attribute-datasource.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html b/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html index 530b16af47..cc4930483e 100644 --- a/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html +++ b/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html @@ -186,6 +186,7 @@
{{attribute.value | tbJson}} { pageLink: PageLink): Observable> { return this.getAllAttributes(entityId, attributesScope).pipe( map((data) => { - const filteredData = data.filter(attrData => attrData.lastUpdateTs !== 0 && attrData.value !== ''); + const filteredData = data.filter(attrData => attrData.lastUpdateTs !== 0); return pageLink.filterData(filteredData); }) );