append issue fixed

This commit is contained in:
raja.blaze 2019-08-09 11:40:58 +05:30
parent 6ecf55d7a2
commit 72936500b4

View File

@ -64,10 +64,11 @@ export class LatestblocksComponent implements OnInit {
this.blockdetails = response;
//console.log(this.blockdetails);
if (this.lastblock != this.blockdetails.block_height) {
//console.log('Create');
console.log('Create');
this.createBlock();
}
this.lastblock = this.blockdetails.block_height;
console.log(this.lastblock);
});
}