Skip to content
Snippets Groups Projects
Unverified Commit d89a016a authored by Robert Dyer's avatar Robert Dyer Committed by GitHub
Browse files

Do not allow hiding income category group (#2581)

* Do not allow hiding income category group

* add release note

* rename file

* Migrate DB so income groups are not hidden

* Update migration to explicitly match on is_income = 1
parent b8795185
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,7 @@ export function SidebarGroup({
}}
items={[
{ name: 'add-category', text: 'Add category' },
{
!group.is_income && {
name: 'toggle-visibility',
text: group.hidden ? 'Show' : 'Hide',
},
......
BEGIN TRANSACTION;
UPDATE category_groups
SET
hidden = 0
WHERE is_income = 1;
COMMIT;
\ No newline at end of file
---
category: Bugfix
authors: [psybers]
---
Do not allow hiding the income category group.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment