We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 544cf08 commit 66a8d80Copy full SHA for 66a8d80
1 file changed
app/budget/services/budgetReducers.js
@@ -460,8 +460,10 @@ class BudgetReducers {
460
};
461
462
action.payload.reasonCategories.forEach(function(reasonCategory) {
463
- reasonCategories.ids.push(reasonCategory.id);
464
- reasonCategories.list[reasonCategory.id] = reasonCategory;
+ if (!reasonCategory.archived) {
+ reasonCategories.ids.push(reasonCategory.id);
465
+ reasonCategories.list[reasonCategory.id] = reasonCategory;
466
+ }
467
});
468
return reasonCategories;
469
default:
0 commit comments