|
|
@ -121,6 +121,7 @@ export class AttributeTableComponent extends PageComponent implements AfterViewI |
|
|
activeValue = false; |
|
|
activeValue = false; |
|
|
dirtyValue = false; |
|
|
dirtyValue = false; |
|
|
entityIdValue: EntityId; |
|
|
entityIdValue: EntityId; |
|
|
|
|
|
entityType = EntityType; |
|
|
|
|
|
|
|
|
attributeScopeSelectionReadonly = false; |
|
|
attributeScopeSelectionReadonly = false; |
|
|
|
|
|
|
|
|
@ -143,6 +144,10 @@ export class AttributeTableComponent extends PageComponent implements AfterViewI |
|
|
return this.disableAttributeScopeSelectionValue; |
|
|
return this.disableAttributeScopeSelectionValue; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
get disableAddTelemetry(): boolean { |
|
|
|
|
|
return this.defaultAttributeScope === this.latestTelemetryTypes.LATEST_TELEMETRY && this.entityType.ENTITY_VIEW === this.entityIdValue.entityType; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
@Input() |
|
|
@Input() |
|
|
set disableAttributeScopeSelection(value: boolean) { |
|
|
set disableAttributeScopeSelection(value: boolean) { |
|
|
this.disableAttributeScopeSelectionValue = coerceBooleanProperty(value); |
|
|
this.disableAttributeScopeSelectionValue = coerceBooleanProperty(value); |
|
|
|