Browse Source

lwm2m: front fix bug create profile lwm2mConfig default

pull/4313/head
nickAS21 6 years ago
parent
commit
8b23bd999f
  1. 4
      ui-ngx/src/app/modules/home/components/profile/device/lwm2m/profile-config.models.ts

4
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
};
}

Loading…
Cancel
Save