Skip to content

Commit

Permalink
Merge pull request #38205 from dukenv0307/fix/37146
Browse files Browse the repository at this point in the history
fix: unselect category when editing a split bill
  • Loading branch information
puneetlath authored Mar 14, 2024
2 parents 6917151 + a379886 commit 6719621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/request/step/IOURequestStepCategory.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function IOURequestStepCategory({

// In the split flow, when editing we use SPLIT_TRANSACTION_DRAFT to save draft value
if (isEditingSplitBill) {
IOU.setDraftSplitTransaction(transaction.transactionID, {category: category.searchText});
IOU.setDraftSplitTransaction(transaction.transactionID, {category: updatedCategory});
navigateBack();
return;
}
Expand Down

0 comments on commit 6719621

Please sign in to comment.