mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 10:14:53 -05:00
Fix SpendingCard crash (#5541)
This commit is contained in:
@@ -65,8 +65,10 @@ export function SpendingCard({
|
|||||||
: monthUtils.getDay(monthUtils.currentDay()) - 1;
|
: monthUtils.getDay(monthUtils.currentDay()) - 1;
|
||||||
const difference =
|
const difference =
|
||||||
data &&
|
data &&
|
||||||
data.intervalData[todayDay][selection] -
|
Math.round(
|
||||||
data.intervalData[todayDay].compare;
|
data.intervalData[todayDay][selection] -
|
||||||
|
data.intervalData[todayDay].compare,
|
||||||
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ReportCard
|
<ReportCard
|
||||||
|
|||||||
6
upcoming-release-notes/5541.md
Normal file
6
upcoming-release-notes/5541.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
category: Bugfix
|
||||||
|
authors: [milanalexandre]
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix SpendingCard crash
|
||||||
Reference in New Issue
Block a user