mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Fix native display.
This commit is contained in:
@@ -38,7 +38,8 @@ trait BasicDataSupport
|
||||
*/
|
||||
protected function isInArray(array $array, int $entryId)
|
||||
{
|
||||
return $array[$entryId]['balance'] ?? '0';
|
||||
$key = $this->convertToNative ? 'native_balance' : 'balance';
|
||||
return $array[$entryId][$key] ?? '0';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user