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 <noreply@anthropic.com>
This commit is contained in:
Ahmed Bouhuolia
2026-02-25 22:08:58 +02:00
parent fa1acc9773
commit ca68918caa

View File

@@ -82,7 +82,7 @@ function CashflowBankAccount({
const handleEditAccount = () => { const handleEditAccount = () => {
openDialog(DialogsName.AccountForm, { openDialog(DialogsName.AccountForm, {
action: AccountDialogAction.Edit, action: AccountDialogAction.Edit,
id: account.id, accountId: account.id,
}); });
}; };
// Handle money in menu item actions. // Handle money in menu item actions.