Skip to content

Commit

Permalink
[Goals]: fix no messages #1507 (#3721)
Browse files Browse the repository at this point in the history
* add dispatch

* note

* lint
  • Loading branch information
youngcw authored Oct 25, 2024
1 parent fbb0f9b commit 4b06345
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/loot-core/src/client/actions/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,16 @@ export function applyBudgetAction(month, type, args) {
dispatch(addNotification(await send('budget/check-templates')));
break;
case 'apply-goal-template':
await send('budget/apply-goal-template', { month });
dispatch(
addNotification(await send('budget/apply-goal-template', { month })),
);
break;
case 'overwrite-goal-template':
await send('budget/overwrite-goal-template', { month });
dispatch(
addNotification(
await send('budget/overwrite-goal-template', { month }),
),
);
break;
case 'cleanup-goal-template':
dispatch(
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/3721.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [youngcw]
---

Fix template notifications not showing

0 comments on commit 4b06345

Please sign in to comment.