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

(cherry picked from commit f0eeac6)
  • Loading branch information
mountiny authored and OSBotify committed Aug 23, 2023
1 parent 982e1c7 commit 1670d56
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 1670d56

Please sign in to comment.