mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 17:47:00 -05:00
Fix category schedule indicators not showing up in budget page (#5036)
* Fix category schedule indicators not showing up in budget page * Update release notes
This commit is contained in:
committed by
GitHub
parent
2e9a752baa
commit
174e13b3fe
@@ -76,19 +76,12 @@ export function useCategoryScheduleGoalTemplates({
|
||||
|
||||
const scheduleIds = new Set(schedules.map(s => s.id));
|
||||
|
||||
const statuses = allStatuses;
|
||||
for (const scheduleId of statuses.keys()) {
|
||||
if (!scheduleIds.has(scheduleId)) {
|
||||
statuses.delete(scheduleId);
|
||||
}
|
||||
}
|
||||
|
||||
const statusLabels = allStatusLabels;
|
||||
for (const scheduleId of statusLabels.keys()) {
|
||||
if (!scheduleIds.has(scheduleId)) {
|
||||
statusLabels.delete(scheduleId);
|
||||
}
|
||||
}
|
||||
const statuses = new Map(
|
||||
[...allStatuses].filter(([id]) => scheduleIds.has(id)),
|
||||
);
|
||||
const statusLabels = new Map(
|
||||
[...allStatusLabels].filter(([id]) => scheduleIds.has(id)),
|
||||
);
|
||||
|
||||
return {
|
||||
schedules,
|
||||
|
||||
6
upcoming-release-notes/5036.md
Normal file
6
upcoming-release-notes/5036.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [joel-jeremy]
|
||||
---
|
||||
|
||||
Fix category schedule indicators not showing up in budget page
|
||||
Reference in New Issue
Block a user