Skip to content

Commit cca335e

Browse files
authored
Fixed app selector on payload decoder edition (#106)
1 parent 469f296 commit cca335e

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/app/payload-decoder/payload-decoder-edit/payload-decoder-edit.component.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,7 @@ export class PayloadDecoderEditComponent implements OnInit {
6060
public application: Application;
6161
public iotDevices: IotDevice[];
6262
public iotDevice: IotDevice;
63-
public pageLimit = environment.tablePageSize;
64-
public pageTotal: number;
65-
public pageOffset = 0;
66-
public deviceSubscription: Subscription;
63+
public deviceSubscription: Subscription;
6764

6865
constructor(
6966
private translate: TranslateService,
@@ -182,8 +179,8 @@ export class PayloadDecoderEditComponent implements OnInit {
182179
getApplications(orgId?: number): void {
183180
this.applicationsSubscription = this.applicationService
184181
.getApplications(
185-
this.pageLimit,
186-
this.pageOffset * this.pageLimit,
182+
null,
183+
null,
187184
null,
188185
null,
189186
orgId ? orgId : this.getCurrentOrganisationId()

0 commit comments

Comments
 (0)