mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 10:21:52 +01:00
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 {
|
return {
|
||||||
totalValue: totalValueTemp,
|
totalValue: totalValueTemp,
|
||||||
totalValueArray: totalValueArrayTemp.reverse(),
|
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">
|
const title = `<div class="title">
|
||||||
${params[0].axisValue}
|
${params[0].axisValue}
|
||||||
<span class="total-value">
|
<span class="total-value">
|
||||||
@ -216,7 +216,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
|
|||||||
</td>
|
</td>
|
||||||
<td class="total-progress-sum">
|
<td class="total-progress-sum">
|
||||||
<span>
|
<span>
|
||||||
${this.vbytesPipe.transform(values[item.seriesIndex].value, 2, 'vB', 'MvB', false)}
|
${this.vbytesPipe.transform(valuesOrdered[item.seriesIndex].value, 2, 'vB', 'MvB', false)}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td class="total-progress-sum">
|
<td class="total-progress-sum">
|
||||||
|
Loading…
Reference in New Issue
Block a user