From 6ecf55d7a275cd420ca6bb0d67005e0d68b7a006 Mon Sep 17 00:00:00 2001 From: "raja.blaze" Date: Fri, 9 Aug 2019 11:35:01 +0530 Subject: [PATCH] append issue fixed --- src/app/view/home/latestblocks/latestblocks.component.html | 1 + src/app/view/home/latestblocks/latestblocks.component.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/view/home/latestblocks/latestblocks.component.html b/src/app/view/home/latestblocks/latestblocks.component.html index f78a86b..f53b7fc 100644 --- a/src/app/view/home/latestblocks/latestblocks.component.html +++ b/src/app/view/home/latestblocks/latestblocks.component.html @@ -46,6 +46,7 @@
+
diff --git a/src/app/view/home/latestblocks/latestblocks.component.ts b/src/app/view/home/latestblocks/latestblocks.component.ts index 4724e40..92b41ac 100644 --- a/src/app/view/home/latestblocks/latestblocks.component.ts +++ b/src/app/view/home/latestblocks/latestblocks.component.ts @@ -75,7 +75,7 @@ export class LatestblocksComponent implements OnInit { const blockFactory = this.resolver.resolveComponentFactory( BlockAppendComponent, ); - const block = this.block.createComponent(blockFactory); + const block = this.block.createComponent(blockFactory, 0); this.blockAppend = {}; this.blockAppend['blockchain_block_hash'] = this.blockdetails.hash; this.blockAppend[