Skip to content

Commit

Permalink
Merge pull request #19 from dsaltares/fix/bulk-category-update
Browse files Browse the repository at this point in the history
fix: bulk cupdate category
  • Loading branch information
dsaltares authored Oct 1, 2024
2 parents 57194a7 + bd07df3 commit 81cf71c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/UpdateTransactionsDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default function UpdateTransactionsDialog({
);
await onUpdate({
...data,
categoryId: data.category ? parseInt(data.category.id, 10) : null,
categoryId: data.categoryId ? parseInt(data.categoryId, 10) : null,
});
}
onClose();
Expand Down

0 comments on commit 81cf71c

Please sign in to comment.