We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed51c24 commit 7d47109Copy full SHA for 7d47109
resources/js/components/app-header.tsx
@@ -182,7 +182,10 @@ export function AppHeader({ breadcrumbs = [] }: AppHeaderProps) {
182
)}
183
{item.title}
184
</Link>
185
- {page.url === item.href && (
+ {page.url ===
186
+ (typeof item.href === 'string'
187
+ ? item.href
188
+ : item.href.url) && (
189
<div className="absolute bottom-0 left-0 h-0.5 w-full translate-y-px bg-black dark:bg-white"></div>
190
191
</NavigationMenuItem>
0 commit comments