You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the code above, when I define a custom component for the dashboard, why can't I get the sub-paths in the same component?
That is, the component I defined for the dashboard only works for the /admin path and doesn't work for a path like /admin/collections/users!
Naturally, if I'm still in the dashboard, the dashboard component should still be displayed, meaning that some things in the dashboard are constant and some values change, so the /features/dashboard/admin/page component should still be rendered!
What is the solution to this problem?
Am I missing something?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In the code above, when I define a custom component for the dashboard, why can't I get the sub-paths in the same component?
That is, the component I defined for the dashboard only works for the
/admin
path and doesn't work for a path like/admin/collections/users
!Naturally, if I'm still in the dashboard, the dashboard component should still be displayed, meaning that some things in the dashboard are constant and some values change, so the
/features/dashboard/admin/page
component should still be rendered!What is the solution to this problem?
Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions