Merge pull request #4731 from mempool/nymkappa/accel-list-1y
[accelerator] acceleration list query 1y
This commit is contained in:
		
						commit
						1fd07f6c9f
					
				@ -44,7 +44,7 @@ export class AccelerationsListComponent implements OnInit {
 | 
				
			|||||||
    
 | 
					    
 | 
				
			||||||
    this.accelerationList$ = this.pageSubject.pipe(
 | 
					    this.accelerationList$ = this.pageSubject.pipe(
 | 
				
			||||||
      switchMap((page) => {
 | 
					      switchMap((page) => {
 | 
				
			||||||
        const accelerationObservable$ = this.accelerations$ || (this.pending ? this.servicesApiService.getAccelerations$() : this.servicesApiService.getAccelerationHistoryObserveResponse$({ timeframe: '1m', page: page }));
 | 
					        const accelerationObservable$ = this.accelerations$ || (this.pending ? this.servicesApiService.getAccelerations$() : this.servicesApiService.getAccelerationHistoryObserveResponse$({ timeframe: '1y', page: page }));
 | 
				
			||||||
        return accelerationObservable$.pipe(
 | 
					        return accelerationObservable$.pipe(
 | 
				
			||||||
          switchMap(response => {
 | 
					          switchMap(response => {
 | 
				
			||||||
            let accelerations = response;
 | 
					            let accelerations = response;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user