Fix home chart.

This commit is contained in:
James Cole
2024-12-26 05:21:28 +01:00
parent 6d22663ca2
commit 00147e98dd
2 changed files with 31 additions and 13 deletions

View File

@@ -81,7 +81,7 @@ trait ChartGeneration
];
$currentStart = clone $start;
$range = Steam::finalAccountBalanceInRange($account, $start, clone $end);
$range = Steam::finalAccountBalanceInRange($account, $start, clone $end, $this->convertToNative);
$previous = array_values($range)[0];
while ($currentStart <= $end) {
$format = $currentStart->format('Y-m-d');