Skip to content

Commit 9d78e10

Browse files
committed
Revert "Fixed app selector on payload decoder edition (#106)"
Wrong branch. This reverts commit cca335e.
1 parent cca335e commit 9d78e10

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

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

6568
constructor(
6669
private translate: TranslateService,
@@ -179,8 +182,8 @@ export class PayloadDecoderEditComponent implements OnInit {
179182
getApplications(orgId?: number): void {
180183
this.applicationsSubscription = this.applicationService
181184
.getApplications(
182-
null,
183-
null,
185+
this.pageLimit,
186+
this.pageOffset * this.pageLimit,
184187
null,
185188
null,
186189
orgId ? orgId : this.getCurrentOrganisationId()

0 commit comments

Comments
 (0)