Create indexing sticky notification that show indexing progress in all mining dashboard related pages

This commit is contained in:
nymkappa
2022-05-02 17:28:58 +09:00
parent 11cdbb3118
commit 802e10e0a9
19 changed files with 95 additions and 20 deletions

View File

@@ -1,3 +1,5 @@
<app-loading-indicator [name]="'block-indexing'"></app-loading-indicator>
<div class="container-xl dashboard-container">
<div class="row row-cols-1 row-cols-md-2">

View File

@@ -1,8 +1,5 @@
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
import { map } from 'rxjs/operators';
import { SeoService } from 'src/app/services/seo.service';
import { StateService } from 'src/app/services/state.service';
import { Observable } from 'rxjs';
import { WebsocketService } from 'src/app/services/websocket.service';
@Component({
@@ -12,8 +9,6 @@ import { WebsocketService } from 'src/app/services/websocket.service';
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class MiningDashboardComponent implements OnInit {
private blocks = [];
constructor(
private seoService: SeoService,
private websocketService: WebsocketService,