Skip to content

Commit

Permalink
fix: group action modal
Browse files Browse the repository at this point in the history
Signed-off-by: Svetoslav Borislavov <[email protected]>
  • Loading branch information
SvetBorislavov committed Jan 22, 2025
1 parent 2508776 commit ab92542
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion front-end/src/renderer/components/GroupActionModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ function handleEditItem() {
}
function handleDiscard() {
transactionGroup.clearGroup();
if (router.previousPath !== '/create-transaction-group') {
transactionGroup.clearGroup();
}
redirectToPrevious(router, '/transactions');
}
Expand Down

0 comments on commit ab92542

Please sign in to comment.