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