Address index and api.

Address view.
This commit is contained in:
softsimon
2020-07-13 21:46:25 +07:00
parent 38afcc6822
commit 3bb2ce7d40
22 changed files with 295 additions and 54 deletions

View File

@@ -1,5 +1,5 @@
<div class="container-xl">
<h2 style="float: left;">BSQ Blocks</h2>
<h2 style="float: left;">Bisq Blocks</h2>
<br>
<div class="clearfix"></div>

View File

@@ -3,6 +3,7 @@ import { BisqApiService } from '../bisq-api.service';
import { switchMap } from 'rxjs/operators';
import { Subject } from 'rxjs';
import { BisqBlock, BisqOutput, BisqTransaction } from '../bisq.interfaces';
import { SeoService } from 'src/app/services/seo.service';
@Component({
selector: 'app-bisq-blocks',
@@ -21,9 +22,11 @@ export class BisqBlocksComponent implements OnInit {
constructor(
private bisqApiService: BisqApiService,
private seoService: SeoService,
) { }
ngOnInit(): void {
this.seoService.setTitle('Blocks', true);
this.itemsPerPage = Math.max(Math.round(this.contentSpace / this.fiveItemsPxSize) * 5, 10);
this.pageSubject$