diff --git a/frontend/src/app/components/mempool-graph/mempool-graph.component.ts b/frontend/src/app/components/mempool-graph/mempool-graph.component.ts index 3bca525f5..6bac64068 100644 --- a/frontend/src/app/components/mempool-graph/mempool-graph.component.ts +++ b/frontend/src/app/components/mempool-graph/mempool-graph.component.ts @@ -174,10 +174,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 = `
${params[0].axisValue} @@ -219,7 +219,7 @@ export class MempoolGraphComponent implements OnInit, OnChanges { - ${this.vbytesPipe.transform(values[item.seriesIndex].value, 2, 'vB', 'MvB', false)} + ${this.vbytesPipe.transform(valuesOrdered[item.seriesIndex].value, 2, 'vB', 'MvB', false)}