From 22f3d09d56c7dd2f6816f522b294fdbdf31fd000 Mon Sep 17 00:00:00 2001 From: shunmugam Date: Wed, 18 Sep 2019 10:50:02 +0530 Subject: [PATCH] Stop auto loading seconds in top bar --- .../view/home/block-detail-list/block-detail-list.component.ts | 2 +- src/app/view/home/graph-list/graph-list.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/view/home/block-detail-list/block-detail-list.component.ts b/src/app/view/home/block-detail-list/block-detail-list.component.ts index 2b9c28e..a574ca0 100644 --- a/src/app/view/home/block-detail-list/block-detail-list.component.ts +++ b/src/app/view/home/block-detail-list/block-detail-list.component.ts @@ -66,7 +66,7 @@ export class BlockDetailListComponent implements OnInit { if (res["status"] == 200) { // var hasharray = res.response; this.latestblockdetail = res.response; - setInterval(() => this.incrementseconds(), 1000); + // setInterval(() => this.incrementseconds(), 1000); this.latestblockdetail["blink"] = false; resolve(); } diff --git a/src/app/view/home/graph-list/graph-list.component.ts b/src/app/view/home/graph-list/graph-list.component.ts index ffd90fc..86c53e1 100644 --- a/src/app/view/home/graph-list/graph-list.component.ts +++ b/src/app/view/home/graph-list/graph-list.component.ts @@ -271,7 +271,7 @@ export class GraphListComponent implements OnInit { this.tDate, this.tHour, this.tKernal, - 'Kernal', + 'Input', ); resolve(); }