TV full screen view.

This commit is contained in:
Simon Lindh
2019-07-27 18:43:17 +03:00
parent b561137962
commit 85c4a3480b
14 changed files with 339 additions and 130 deletions

View File

@@ -21,7 +21,10 @@ export class BlockchainBlocksComponent implements OnInit, OnDestroy {
ngOnInit() {
this.blocksSubscription = this.memPoolService.blocks$
.subscribe((block) => this.blocks.unshift(block));
.subscribe((block) => {
this.blocks.unshift(block);
this.blocks = this.blocks.slice(0, 8);
});
}
ngOnDestroy() {