mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-27 18:19:48 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user