mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-23 22:46:35 +01:00
fix: tooltip key in tx bar chart (#491)
Co-authored-by: Anthony Potdevin <31413433+apotdevin@users.noreply.github.com>
This commit is contained in:
parent
c693fa1d09
commit
ded19a1d36
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ export const TransactionsGraph: FC<TransactionsGraphProps> = ({
|
||||||
priceLabel={type !== 'amount'}
|
priceLabel={type !== 'amount'}
|
||||||
data={finalArray.map(f => {
|
data={finalArray.map(f => {
|
||||||
return {
|
return {
|
||||||
Invoices: f?.[type] || 0,
|
[showPay ? 'Payments' : 'Invoices']: f?.[type] || 0,
|
||||||
date: f.date,
|
date: f.date,
|
||||||
};
|
};
|
||||||
})}
|
})}
|
||||||
|
|
Loading…
Add table
Reference in a new issue