From 8b23bd999f450aa8ace9ea90aae12c9f1981cb33 Mon Sep 17 00:00:00 2001 From: nickAS21 Date: Sat, 27 Mar 2021 07:37:58 +0200 Subject: [PATCH] lwm2m: front fix bug create profile lwm2mConfig default --- .../components/profile/device/lwm2m/profile-config.models.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/profile-config.models.ts b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/profile-config.models.ts index 86870d559d..7241abbf76 100644 --- a/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/profile-config.models.ts +++ b/ui-ngx/src/app/modules/home/components/profile/device/lwm2m/profile-config.models.ts @@ -98,7 +98,7 @@ export interface ProfileConfigModels { } export interface ClientLwM2mSettings { - clientOnlyObserveAfterConnect: boolean; + clientOnlyObserveAfterConnect: number; } export interface ObservableAttributes { observe: string[]; @@ -157,7 +157,7 @@ function getDefaultProfileObserveAttrConfig(): ObservableAttributes { function getDefaultProfileClientLwM2mSettingsConfig(): ClientLwM2mSettings { return { - clientOnlyObserveAfterConnect: true + clientOnlyObserveAfterConnect: 1 }; }