ing
This commit is contained in:
parent
2707f4f869
commit
859255df05
@ -37,7 +37,7 @@ export class SensorListComponent implements OnInit, OnChanges {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
if (1 > this.pageNo) {
|
if (undefined === this.pageNo || 1 > this.pageNo) {
|
||||||
this.pageNo = 0;
|
this.pageNo = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user