From 7455306b01624d80855e87a9290cd82323a124fc Mon Sep 17 00:00:00 2001 From: Pavlo Tsimura Date: Sat, 17 Feb 2024 11:37:04 +0100 Subject: [PATCH] Set tag, category, and billable when editing a split bill --- src/libs/actions/IOU.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libs/actions/IOU.ts b/src/libs/actions/IOU.ts index 3482dd0e30ad..b5c9ae45a6de 100644 --- a/src/libs/actions/IOU.ts +++ b/src/libs/actions/IOU.ts @@ -2384,6 +2384,10 @@ function completeSplitBill(chatReportID: string, reportAction: OnyxTypes.ReportA updatedTransaction.modifiedMerchant, {...updatedTransaction.receipt, state: CONST.IOU.RECEIPT_STATE.OPEN}, updatedTransaction.filename, + undefined, + updatedTransaction.category, + updatedTransaction.tag, + updatedTransaction.billable, ); const oneOnOneCreatedActionForChat = ReportUtils.buildOptimisticCreatedReportAction(currentUserEmailForIOUSplit);