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({
|
const {collapsed, setCollapsed} = useCollapseStateInOutlinePanel({
|
||||||
type: 'namespace',
|
type: 'namespace',
|
||||||
sheet,
|
sheet,
|
||||||
path: props.path,
|
path: [...props.path, label],
|
||||||
})
|
})
|
||||||
|
|
||||||
const nestedChildrenElt = nested && (
|
const nestedChildrenElt = nested && (
|
||||||
|
|
Loading…
Reference in a new issue