From 859255df05458d1137a9b549ec91defd0a80616f Mon Sep 17 00:00:00 2001 From: crusader Date: Mon, 4 Jun 2018 12:50:25 +0900 Subject: [PATCH] ing --- @overflow/sensor/component/sensor-list.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@overflow/sensor/component/sensor-list.component.ts b/@overflow/sensor/component/sensor-list.component.ts index 8b48d98..e8c0724 100644 --- a/@overflow/sensor/component/sensor-list.component.ts +++ b/@overflow/sensor/component/sensor-list.component.ts @@ -37,7 +37,7 @@ export class SensorListComponent implements OnInit, OnChanges { } ngOnInit() { - if (1 > this.pageNo) { + if (undefined === this.pageNo || 1 > this.pageNo) { this.pageNo = 0; }