From ca68918caafaac34dd65e4161a4a390844bd778c Mon Sep 17 00:00:00 2001 From: Ahmed Bouhuolia Date: Wed, 25 Feb 2026 22:08:58 +0200 Subject: [PATCH] fix(webapp): account type not pre-selected when editing from banking page Change 'id' to 'accountId' in CashflowAccountsGrid to match the AccountDialogProvider expected payload. The dialog provider expects 'accountId' to fetch account details and populate the form. Co-Authored-By: Claude Sonnet 4.6 --- .../CashFlow/CashFlowAccounts/CashflowAccountsGrid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/src/containers/CashFlow/CashFlowAccounts/CashflowAccountsGrid.tsx b/packages/webapp/src/containers/CashFlow/CashFlowAccounts/CashflowAccountsGrid.tsx index 3ccc435e8..7a81b7166 100644 --- a/packages/webapp/src/containers/CashFlow/CashFlowAccounts/CashflowAccountsGrid.tsx +++ b/packages/webapp/src/containers/CashFlow/CashFlowAccounts/CashflowAccountsGrid.tsx @@ -82,7 +82,7 @@ function CashflowBankAccount({ const handleEditAccount = () => { openDialog(DialogsName.AccountForm, { action: AccountDialogAction.Edit, - id: account.id, + accountId: account.id, }); }; // Handle money in menu item actions.