mirror of
https://github.com/mempool/mempool.git
synced 2025-02-25 15:10:12 +01:00
Merge pull request #839 from MiguelMedeiros/fix-shadowed-variable
Fix lint 'no-shadowed-variable'.
This commit is contained in:
commit
76a2fdeea7
1 changed files with 3 additions and 3 deletions
|
@ -174,10 +174,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">
|
||||||
|
@ -219,7 +219,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…
Add table
Reference in a new issue