Skip to content

Commit

Permalink
Merge pull request #25800 from Expensify/marcaaron-fixFilenameBug
Browse files Browse the repository at this point in the history
[CP Staging] Stop showing receipt images for cash requests
  • Loading branch information
mountiny authored Aug 23, 2023
2 parents 5634134 + a5c4dea commit f0eeac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/TransactionUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function buildOptimisticTransaction(
* @returns {Boolean}
*/
function hasReceipt(transaction) {
return !_.isEmpty(lodashGet(transaction, 'receipt'));
return lodashGet(transaction, 'receipt.state', '') !== '';
}

/**
Expand Down

0 comments on commit f0eeac6

Please sign in to comment.