mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-09 07:25:19 +02:00
Merge pull request #76 from Neumand/bug/other-accordion
Fix assets and debts 'other' expanding in tandem
This commit is contained in:
commit
e0b6d2c05c
1 changed files with 3 additions and 1 deletions
|
@ -187,7 +187,9 @@ export default function AccountsSidebar() {
|
|||
label={title}
|
||||
balances={balances.data}
|
||||
inverted={classification === 'liability'}
|
||||
onToggle={(isExpanded) => updateToggleState(title, isExpanded)}
|
||||
onToggle={(isExpanded) =>
|
||||
updateToggleState(`${title}-${classification}`, isExpanded)
|
||||
}
|
||||
expanded={toggleState[title] !== false}
|
||||
level={1}
|
||||
syncing={items.some((a) => a.syncing)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue