From 547121892083a74a462fced5b93692c2f2bbd9fc Mon Sep 17 00:00:00 2001 From: Ani Date: Tue, 20 Aug 2024 18:20:12 +0300 Subject: [PATCH] Fix id after choosing a campaign (Admin panel) (#1891) Co-authored-by: ani-kalpachka --- src/components/admin/recurring-donation/Form.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/admin/recurring-donation/Form.tsx b/src/components/admin/recurring-donation/Form.tsx index 2c1cf4264..c62eba350 100644 --- a/src/components/admin/recurring-donation/Form.tsx +++ b/src/components/admin/recurring-donation/Form.tsx @@ -74,7 +74,7 @@ export default function EditForm() { extCustomerId: data?.extCustomerId, money: fromMoney(data?.amount || 0), currency: data?.currency, - sourceVault: data?.sourceVault.id, + sourceVault: '', campaign: data?.sourceVault.campaign.id, } }