Fix lint 'no-shadowed-variable'.
This commit is contained in:
		
							parent
							
								
									92048964d1
								
							
						
					
					
						commit
						8f774e55a8
					
				@ -171,10 +171,10 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
 | 
			
		||||
            return {
 | 
			
		||||
              totalValue: totalValueTemp,
 | 
			
		||||
              totalValueArray: totalValueArrayTemp.reverse(),
 | 
			
		||||
              values: this.inverted ? [...values].reverse() : values,
 | 
			
		||||
              valuesOrdered: this.inverted ? [...values].reverse() : values,
 | 
			
		||||
            };
 | 
			
		||||
          };
 | 
			
		||||
          const { totalValue, totalValueArray, values } = totals(params);
 | 
			
		||||
          const { totalValue, totalValueArray, valuesOrdered } = totals(params);
 | 
			
		||||
          const title = `<div class="title">
 | 
			
		||||
            ${params[0].axisValue}
 | 
			
		||||
            <span class="total-value">
 | 
			
		||||
@ -216,7 +216,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
 | 
			
		||||
              </td>
 | 
			
		||||
              <td class="total-progress-sum">
 | 
			
		||||
                <span>
 | 
			
		||||
                  ${this.vbytesPipe.transform(values[item.seriesIndex].value, 2, 'vB', 'MvB', false)}
 | 
			
		||||
                  ${this.vbytesPipe.transform(valuesOrdered[item.seriesIndex].value, 2, 'vB', 'MvB', false)}
 | 
			
		||||
                </span>
 | 
			
		||||
              </td>
 | 
			
		||||
              <td class="total-progress-sum">
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user