Skip to content

Conversation

hcancelik
Copy link
Contributor

This pull request fixes the way active navigation items are determined in the NavMain.vue component. The main change is the introduction of a new isActive helper function, which handles both string and object types for the href property.

Navigation logic improvement:

  • Added an isActive function to correctly determine if a navigation item is active by handling both string and object href types, and updated the SidebarMenuButton to use this function for its is-active prop.

@joetannenbaum
Copy link
Contributor

Thanks!

@joetannenbaum joetannenbaum merged commit 08df299 into laravel:main Sep 2, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants