diff --git a/src/libs/ReceiptUtils.ts b/src/libs/ReceiptUtils.ts index 7082bcd17963..5085f0e2384e 100644 --- a/src/libs/ReceiptUtils.ts +++ b/src/libs/ReceiptUtils.ts @@ -27,7 +27,7 @@ type ThumbnailAndImageURI = { * @param receiptFileName */ function getThumbnailAndImageURIs(transaction: OnyxEntry, receiptPath: ReceiptSource | null = null, receiptFileName: string | null = null): ThumbnailAndImageURI { - if (!TransactionUtils.hasReceipt(transaction)) { + if (!TransactionUtils.hasReceipt(transaction) && !receiptPath && !receiptFileName) { return {isEmptyReceipt: true}; } if (TransactionUtils.isFetchingWaypointsFromServer(transaction)) {