Skip to content

Commit f582419

Browse files
committed
fix missing to field for first invoice
1 parent b1f9003 commit f582419

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/libs/SearchUIUtils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,6 +1358,7 @@ function getColumnsToShow(data: OnyxTypes.SearchResults['data'] | OnyxTypes.Tran
13581358
[CONST.REPORT.TRANSACTION_LIST.COLUMNS.TAG]: false,
13591359
[CONST.REPORT.TRANSACTION_LIST.COLUMNS.COMMENTS]: true,
13601360
[CONST.REPORT.TRANSACTION_LIST.COLUMNS.TOTAL_AMOUNT]: true,
1361+
[CONST.REPORT.TRANSACTION_LIST.COLUMNS.ACTION]: false,
13611362
}
13621363
: {
13631364
[CONST.SEARCH.TABLE_COLUMNS.RECEIPT]: true,

src/libs/actions/IOU.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2385,6 +2385,8 @@ function buildOnyxDataForInvoice(invoiceParams: BuildOnyxDataForInvoiceParams):
23852385
const searchUpdate = getSearchOnyxUpdate({
23862386
transaction,
23872387
participant,
2388+
iouReport: iou.report,
2389+
policy: policyParams.policy,
23882390
isInvoice: true,
23892391
transactionThreadReportID: transactionParams.threadReport.reportID,
23902392
});

0 commit comments

Comments
 (0)