Skip to content

Commit

Permalink
Fix setting tag for split requests
Browse files Browse the repository at this point in the history
  • Loading branch information
paultsimura committed Feb 6, 2024
1 parent 0eb6d02 commit f2b7144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/request/step/IOURequestStepTag.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function IOURequestStepTag({
const updateTag = (selectedTag) => {
const isSelectedTag = selectedTag.searchText === tag;
const updatedTag = !isSelectedTag ? selectedTag.searchText : '';
if (isSplitBill) {
if (isSplitBill && isEditing) {
IOU.setDraftSplitTransaction(transactionID, {tag: selectedTag.searchText});
navigateBack();
return;
Expand Down

0 comments on commit f2b7144

Please sign in to comment.