Graph: don't refresh data if timespan is 24h or 3d
This commit is contained in:
		
							parent
							
								
									ec54ed6f94
								
							
						
					
					
						commit
						86c3ef68e4
					
				| @ -370,7 +370,7 @@ export class BlockFeesSubsidyGraphComponent implements OnInit { | |||||||
|     }); |     }); | ||||||
| 
 | 
 | ||||||
|     this.chartInstance.on('datazoom', (params) => { |     this.chartInstance.on('datazoom', (params) => { | ||||||
|       if (params.silent || this.isLoading) { |       if (params.silent || this.isLoading || ['24h', '3d'].includes(this.timespan)) { | ||||||
|         return; |         return; | ||||||
|       } |       } | ||||||
|       this.updateZoom = true; |       this.updateZoom = true; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user