Enhancements to the sponsorship GUI

fixes  #128
This commit is contained in:
softsimon
2020-10-08 17:51:10 +07:00
parent ad144a34ac
commit 784f00b725
9 changed files with 122 additions and 75 deletions

View File

@@ -1,5 +1,6 @@
import { Component, OnInit } from '@angular/core';
import { StateService } from 'src/app/services/state.service';
import { WebsocketService } from 'src/app/services/websocket.service';
@Component({
selector: 'app-api-docs',
@@ -12,9 +13,12 @@ export class ApiDocsComponent implements OnInit {
constructor(
private stateService: StateService,
private websocketService: WebsocketService,
) { }
ngOnInit(): void {
this.websocketService.want(['blocks']);
if (this.stateService.network === 'bisq') {
this.active = 2;
}