From acc1ea93024178a14750f5ad451e049e9f9c97e0 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 29 Aug 2019 15:41:12 +0530 Subject: [PATCH 1/4] updated --- src/app/view/home/latestblocks/latestblocks.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/view/home/latestblocks/latestblocks.component.ts b/src/app/view/home/latestblocks/latestblocks.component.ts index 983c429..d16d471 100644 --- a/src/app/view/home/latestblocks/latestblocks.component.ts +++ b/src/app/view/home/latestblocks/latestblocks.component.ts @@ -21,7 +21,7 @@ export class LatestblocksComponent implements OnInit { public DifferentList: any = []; public blockAppend: any; public blockdetails: any; - public zibra_color = "zibra_white"; + public zibra_color = "zibra_grey"; public lastblock: any; public clickValue: any; public clickPeer: any; From 7d3bce0cafbb73f1d8cb9e535772175238fb2491 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 29 Aug 2019 15:54:45 +0530 Subject: [PATCH 2/4] updated --- src/app/view/home/latestblocks/latestblocks.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/view/home/latestblocks/latestblocks.component.ts b/src/app/view/home/latestblocks/latestblocks.component.ts index d16d471..b08249c 100644 --- a/src/app/view/home/latestblocks/latestblocks.component.ts +++ b/src/app/view/home/latestblocks/latestblocks.component.ts @@ -21,7 +21,7 @@ export class LatestblocksComponent implements OnInit { public DifferentList: any = []; public blockAppend: any; public blockdetails: any; - public zibra_color = "zibra_grey"; + public zibra_color = "zibra_white"; public lastblock: any; public clickValue: any; public clickPeer: any; @@ -83,7 +83,7 @@ export class LatestblocksComponent implements OnInit { this.DifferentList.sort((a, b) => (a.blockchain_block_height) - (b.blockchain_block_height)); - + this.FirstPageListData = this.Merged_data; this.DifferentList.forEach(DifferentList_dub => { this.createBlock(DifferentList_dub); }); @@ -103,7 +103,7 @@ export class LatestblocksComponent implements OnInit { } public createBlock(DifferentList) { - this.FirstPageListData.push(DifferentList); + //this.FirstPageListData.push(DifferentList); const blockFactory = this.resolver.resolveComponentFactory( BlockAppendComponent, ); From bb5914a5fdab4256ad353fb1d395ec9e8f6cc28f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 29 Aug 2019 16:38:39 +0530 Subject: [PATCH 3/4] updated --- src/app/view/home/latestblocks/latestblocks.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/view/home/latestblocks/latestblocks.component.ts b/src/app/view/home/latestblocks/latestblocks.component.ts index b08249c..453cd74 100644 --- a/src/app/view/home/latestblocks/latestblocks.component.ts +++ b/src/app/view/home/latestblocks/latestblocks.component.ts @@ -59,6 +59,8 @@ export class LatestblocksComponent implements OnInit { this.lastblock = res.response.BlockchainBlockResult[0].blockchain_block_height; //console.log(this.lastblock); + }else{ + this.block.clear(); } } }, From 46cba6ed2ce03bad180d07c6fa3c056227298ee5 Mon Sep 17 00:00:00 2001 From: "raja.blaze" Date: Fri, 30 Aug 2019 16:19:54 +0530 Subject: [PATCH 4/4] mutiple build files fixed --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 3a125dc..ba588d9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,7 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "importHelpers": true, - "target": "es2015", + "target": "es5", "typeRoots": [ "node_modules/@types" ],