[accelerator] also show completed_provisional in accel dashboard

This commit is contained in:
nymkappa 2024-07-12 23:45:41 +09:00
parent 04b6bee8a1
commit 22a5cd2de2
No known key found for this signature in database
GPG Key ID: 92358FC85D9645DE
2 changed files with 2 additions and 2 deletions

View File

@ -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([]);
}),

View File

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