From 93b1db943b298cc30d158e1e17b4e539a4e07038 Mon Sep 17 00:00:00 2001 From: nickAS21 Date: Thu, 25 Sep 2025 11:07:23 +0300 Subject: [PATCH] fix_lwm2m: comments by front --- .../lwm2m-device-profile-transport-configuration.component.ts | 3 --- ui-ngx/src/assets/locale/locale.constant-en_US.json | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.ts b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.ts index 2e127a407b..932c1ade4f 100644 --- a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.ts +++ b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-device-profile-transport-configuration.component.ts @@ -184,9 +184,6 @@ export class Lwm2mDeviceProfileTransportConfigurationComponent implements Contro takeUntil(this.destroy$) ).subscribe(value => this.updateObserveStrategy(value)); - this.lwm2mDeviceProfileFormGroup.get('initAttrTelAsObsStrategy').valueChanges.pipe( - takeUntil(this.destroy$) - ).subscribe(value => this.configurationValue.observeAttr.initAttrTelAsObsStrategy = value); this.lwm2mDeviceProfileFormGroup.valueChanges.pipe( takeUntil(this.destroy$) diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json index f6192cc401..df33c878fb 100644 --- a/ui-ngx/src/assets/locale/locale.constant-en_US.json +++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json @@ -2395,8 +2395,8 @@ "composite-by-object": "Composite by objects", "composite-by-object-description": "Resources are grouped by object type and observed using separate Composite Observe requests (balanced approach)" }, - "init-attr-tel-as-obs-strategy": "Initializing attributes and telemetry as an Observe Strategy", - "init-attr-tel-as-obs-strategy-hint": "If the value is false - when initializing attributes and telemetry reading their values one by one\nIf the value is true - when initializing attributes and telemetry reading their values as indicated by the observation strategy" + "init-attr-tel-as-obs-strategy": "Initialize attributes and telemetry using Observe strategy", + "init-attr-tel-as-obs-strategy-hint": "If false - attributes and telemetry are initialized by reading their values one by one.\\nIf true - attributes and telemetry are initialized by subscribing to their values using the Observe strategy." }, "snmp": { "add-communication-config": "Add communication config",