hierarchical-document-list icon indicating copy to clipboard operation
hierarchical-document-list copied to clipboard

Does not allow being in nested structures

Open JayBox325 opened this issue 10 months ago • 0 comments

Describe the bug

I have multiple navigations so I have tried to put them inside a listItem and it's children, but that throws an error:

S.listItem()
    .title("Navigation")
    .id("navigation")
    .icon(PiNavigationArrowFill)
    .child(
        createDeskHierarchy({
            S,
            context,

            title: 'Footer Menu',
            documentId: 'footerMenu',
            icon: PiNavigationArrowFill,
            referenceTo: ['page'],
        }),
        createDeskHierarchy({
            S,
            context,

            title: 'Main Menu',
            documentId: 'mainMenu',
            icon: PiNavigationArrowFill,
            referenceTo: ['page'],
        })
    )

But this throws the following when I click on the item:

Error: Component not defined: Code
Image

JayBox325 avatar Feb 04 '25 00:02 JayBox325