Skip to content

Commit abf8d1d

Browse files
authored
Merge pull request Expensify#55503 from software-mansion-labs/fix/report-preview
2 parents 0efbc10 + e680d3a commit abf8d1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ReportActionItem/ReportPreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ function ReportPreview({
404404

405405
const bankAccountRoute = getBankAccountRoute(chatReport);
406406

407-
const shouldShowSettlementButton = (shouldShowPayButton || shouldShowApproveButton) && !showRTERViolationMessage && !shouldShowBrokenConnectionViolation;
407+
const shouldShowSettlementButton = !shouldShowSubmitButton && (shouldShowPayButton || shouldShowApproveButton) && !showRTERViolationMessage && !shouldShowBrokenConnectionViolation;
408408

409409
const shouldPromptUserToAddBankAccount = (hasMissingPaymentMethod(userWallet, iouReportID) || hasMissingInvoiceBankAccount(iouReportID)) && !isSettled(iouReportID);
410410
const shouldShowRBR = hasErrors && !iouSettled;

0 commit comments

Comments
 (0)