diff --git a/packages/loot-core/src/client/actions/queries.ts b/packages/loot-core/src/client/actions/queries.ts index 0482d17dafc..6c64b08c09a 100644 --- a/packages/loot-core/src/client/actions/queries.ts +++ b/packages/loot-core/src/client/actions/queries.ts @@ -134,12 +134,14 @@ export function createCategory( name: string, groupId: string, isIncome: boolean, + hidden: boolean, ) { return async (dispatch: Dispatch) => { const id = await send('category-create', { name, groupId, isIncome, + hidden, }); dispatch(getCategories()); return id;