Skip to content

Show parent Nav as active as well #4534

Discussion options

You must be logged in to vote

Hi, you should be able to make it work with navigation pattern matching? https://mui.com/toolpad/core/react-dashboard-layout/#navigation-pattern-matching

Otherwise feel free to share your specific configuration!

if working with react-router

set your route...

dynamic route:

const RedirectToSync = () => <Navigate to="sync" replace />;
const baseRoutes = [
    {
        path: '',
        component: Dashboard,
        isPrivate: true,
        hideTabs: true
    },
    {
        path: '/',
        component: Dashboard,
        isPrivate: true,
        hideTabs: true
    },
    {
        path: '/utilities',
        component: Utilities,
        isPrivate: true,
        hideTabs: true,
        c…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@gazi786
Comment options

@gazi786
Comment options

@gazi786
Comment options

@gazi786
Comment options

Answer selected by gazi786
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants