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