UI: Attribute table disable edit for client side attributes

This commit is contained in:
Igor Kulikov 2020-04-09 18:06:10 +03:00
parent f2b10edf1e
commit 359c442365

View File

@ -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;