[indexer] show indexer progress in /status component

This commit is contained in:
nymkappa 2023-05-30 10:13:07 -07:00
parent 0b4615cbf0
commit 107bdbc209
No known key found for this signature in database
GPG key ID: E155910B16E8BD04
3 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,5 @@
<app-indexing-progress *ngIf="showLoadingIndicator"></app-indexing-progress>
<ng-container *ngIf="specialEvent">
<div class="pyro">
<div class="before"></div>

View file

@ -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'];

View file

@ -1,2 +1,2 @@
<app-start></app-start>
<app-start [showLoadingIndicator]="true"></app-start>
<app-footer></app-footer>