Fix the bug where nested objects in the outline panel would collapse/expand their parents rather than themselves
This commit is contained in:
parent
6f8e91ed5f
commit
5b1caf8974
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ function Namespace(props: {
|
|||
const {collapsed, setCollapsed} = useCollapseStateInOutlinePanel({
|
||||
type: 'namespace',
|
||||
sheet,
|
||||
path: props.path,
|
||||
path: [...props.path, label],
|
||||
})
|
||||
|
||||
const nestedChildrenElt = nested && (
|
||||
|
|
Loading…
Reference in a new issue