append issue fixed

This commit is contained in:
raja.blaze 2019-08-09 11:35:01 +05:30
parent 3ddeb8722b
commit 6ecf55d7a2
2 changed files with 2 additions and 1 deletions

View File

@ -46,6 +46,7 @@
</div> </div>
</div> </div>
<div #block></div> <div #block></div>
<!-- <ng-container #block></ng-container> -->
<div [ngClass]="{mobile_table : true, hght_40: item.id != clickValue }" <div [ngClass]="{mobile_table : true, hght_40: item.id != clickValue }"
id="hash_{{hashvalue.blockchain_block_height}}" #item *ngFor="let hashvalue of hashvalues"> id="hash_{{hashvalue.blockchain_block_height}}" #item *ngFor="let hashvalue of hashvalues">

View File

@ -75,7 +75,7 @@ export class LatestblocksComponent implements OnInit {
const blockFactory = this.resolver.resolveComponentFactory( const blockFactory = this.resolver.resolveComponentFactory(
BlockAppendComponent, BlockAppendComponent,
); );
const block = this.block.createComponent(blockFactory); const block = this.block.createComponent(blockFactory, 0);
this.blockAppend = {}; this.blockAppend = {};
this.blockAppend['blockchain_block_hash'] = this.blockdetails.hash; this.blockAppend['blockchain_block_hash'] = this.blockdetails.hash;
this.blockAppend[ this.blockAppend[