Merge pull request #5328 from mempool/nymkappa/accel-dashboard-update
[accelerator] also show completed_provisional in accel dashboard
This commit is contained in:
		
						commit
						7556424f0b
					
				@ -99,7 +99,7 @@ export class AcceleratorDashboardComponent implements OnInit, OnDestroy {
 | 
			
		||||
    this.minedAccelerations$ = this.stateService.chainTip$.pipe(
 | 
			
		||||
      distinctUntilChanged(),
 | 
			
		||||
      switchMap(() => {
 | 
			
		||||
        return this.serviceApiServices.getAccelerationHistory$({ status: 'completed', pageLength: 6 }).pipe(
 | 
			
		||||
        return this.serviceApiServices.getAccelerationHistory$({ status: 'completed_provisional,completed', pageLength: 6 }).pipe(
 | 
			
		||||
          catchError(() => {
 | 
			
		||||
            return of([]);
 | 
			
		||||
          }),
 | 
			
		||||
 | 
			
		||||
@ -411,7 +411,7 @@ export interface Acceleration {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export interface AccelerationHistoryParams {
 | 
			
		||||
  status?: string;
 | 
			
		||||
  status?: string; // Single status or comma separated list of status
 | 
			
		||||
  timeframe?: string;
 | 
			
		||||
  poolUniqueId?: number;
 | 
			
		||||
  blockHash?: string;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user