Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How UDashboardSidebarLinks supports menus with three or more layers #27

Open
lhlyu opened this issue May 27, 2024 · 2 comments
Open

How UDashboardSidebarLinks supports menus with three or more layers #27

lhlyu opened this issue May 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@lhlyu
Copy link

lhlyu commented May 27, 2024

eg:

<UDashboardSidebarLinks :links="links"/>
const links = [{
    label: 'A',
    icon: 'i-heroicons-home',
}, {
    label: 'B',
    icon: 'i-heroicons-cog-8-tooth',
    children: [{
        label: 'C',
    }, {
        label: 'D',
        children: [{
            label: 'E',
        }]
    }],
}]

image

The second and third layers appear to be on the same layer, lacking necessary indentation.

Copy link
Contributor

Indeed, it works only with one level of children at the moment! This can be an improvement.

@benjamincanac benjamincanac added the enhancement New feature or request label May 27, 2024 — with Volta.net
@lhlyu
Copy link
Author

lhlyu commented May 28, 2024

Thank you, hope to see it sooner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants