mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 14:40:38 +01:00
[indexer] show indexer progress in /status component
This commit is contained in:
parent
0b4615cbf0
commit
107bdbc209
3 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
|||
<app-indexing-progress *ngIf="showLoadingIndicator"></app-indexing-progress>
|
||||
|
||||
<ng-container *ngIf="specialEvent">
|
||||
<div class="pyro">
|
||||
<div class="before"></div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Component, ElementRef, HostListener, OnInit, OnDestroy, ViewChild } from '@angular/core';
|
||||
import { Component, ElementRef, HostListener, OnInit, OnDestroy, ViewChild, Input } from '@angular/core';
|
||||
import { Subscription } from 'rxjs';
|
||||
import { StateService } from '../../services/state.service';
|
||||
import { specialBlocks } from '../../app.constants';
|
||||
|
@ -9,6 +9,8 @@ import { specialBlocks } from '../../app.constants';
|
|||
styleUrls: ['./start.component.scss'],
|
||||
})
|
||||
export class StartComponent implements OnInit, OnDestroy {
|
||||
@Input() showLoadingIndicator = false;
|
||||
|
||||
interval = 60;
|
||||
colors = ['#5E35B1', '#ffffff'];
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<app-start></app-start>
|
||||
<app-start [showLoadingIndicator]="true"></app-start>
|
||||
<app-footer></app-footer>
|
||||
|
|
Loading…
Add table
Reference in a new issue