Browse Source

UI: Fixed incorrect search by LWM2M models

pull/12610/head
Vladyslav_Prykhodko 2 years ago
parent
commit
08eef1c922
  1. 2
      ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-object-list.component.ts

2
ui-ngx/src/app/modules/home/components/profile/device/lwm2m/lwm2m-object-list.component.ts

@ -190,7 +190,7 @@ export class Lwm2mObjectListComponent implements ControlValueAccessor, OnInit, V
private fetchListObjects = (searchText: string): Observable<Array<ObjectLwM2M>> => {
this.searchText = searchText;
const pageLink = new PageLink(PAGE_SIZE_LIMIT, 0, this.searchText, {
property: 'id',
property: 'resourceKey',
direction: Direction.ASC
});
return this.deviceProfileService.getLwm2mObjectsPage(pageLink);

Loading…
Cancel
Save