Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ function MoneyRequestReportTransactionItemBody({
return (
<OfflineWithFeedback
pendingAction={pendingAction}
errors={transaction.errors}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Wire receipt-error dismissal in transaction rows

When transaction.errors contains a receipt-upload error, ErrorMessageRow/DotIndicatorMessage renders the receipt failure UI with a “Delete expense” button and invokes dismissError; this new OfflineWithFeedback passes those errors but no dismissError or onClose, so that button falls back to the no-op default. In the failed receipt submission case now surfaced in this report table, users can see the delete action but tapping it from the row will not clear/delete the failed expense.

Useful? React with 👍 / 👎.

errorRowStyles={[styles.ph3, styles.pb2]}
style={!shouldUseNarrowLayout && isLastItem && [styles.tableBottomRadius, styles.overflowHidden]}
>
<PressableWithFeedback
Expand Down
Loading