From 01d49b05425970e65d8fb7b80492bd44e1f0d494 Mon Sep 17 00:00:00 2001 From: Rocio Perez-Cano Date: Wed, 2 Oct 2024 15:14:01 -0400 Subject: [PATCH] Merge pull request #50097 from allgandalf/patch-8 [CP Staging]: Fix: Company website field appears empty on company info confirmation page (cherry picked from commit 3b15d846bbe591631f05604fd6a512c2acbd6247) (CP triggered by jasperhuangg) --- .../BusinessInfo/substeps/WebsiteBusiness.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/ReimbursementAccount/BusinessInfo/substeps/WebsiteBusiness.tsx b/src/pages/ReimbursementAccount/BusinessInfo/substeps/WebsiteBusiness.tsx index 00ce90ddeb05..3d8fcd944f4f 100644 --- a/src/pages/ReimbursementAccount/BusinessInfo/substeps/WebsiteBusiness.tsx +++ b/src/pages/ReimbursementAccount/BusinessInfo/substeps/WebsiteBusiness.tsx @@ -47,7 +47,7 @@ function WebsiteBusiness({onNext, isEditing}: SubStepProps) { BankAccounts.addBusinessWebsiteForDraft((values as {website: string})?.website); onNext(); }, - shouldSaveDraft: isEditing, + shouldSaveDraft: true, }); return (