From 359c442365dccec37cb802d84ee53d1aacc4dbc4 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 9 Apr 2020 18:06:10 +0300 Subject: [PATCH] UI: Attribute table disable edit for client side attributes --- .../home/components/attribute/attribute-table.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.ts b/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.ts index e2c2281c8b..3e6825edff 100644 --- a/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.ts +++ b/ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.ts @@ -298,7 +298,7 @@ export class AttributeTableComponent extends PageComponent implements AfterViewI if ($event) { $event.stopPropagation(); } - if (this.attributeScope === LatestTelemetry.LATEST_TELEMETRY){ + if (this.isClientSideTelemetryTypeMap.get(this.attributeScope)) { return; } const target = $event.target || $event.srcElement || $event.currentTarget;