Skip to content

[6.x] External URLs in the nav should render as <a> elements#14174

Merged
jasonvarga merged 3 commits into6.xfrom
external-nav-items
Mar 9, 2026
Merged

[6.x] External URLs in the nav should render as <a> elements#14174
jasonvarga merged 3 commits into6.xfrom
external-nav-items

Conversation

@duncanmcclean
Copy link
Member

This pull request ensures that external URLs in the nav are rendered as <a> elements, as opposed to Inertia <Link> components which may triggers CORS errors.

@jasonvarga
Copy link
Member

Since nav item urls arriving at the Nav vue component are all absolute, they all start with http/https, so they were all being considered external. Nothing was being rendered as an Inertia Link.

@jasonvarga jasonvarga merged commit 98012be into 6.x Mar 9, 2026
17 checks passed
@jasonvarga jasonvarga deleted the external-nav-items branch March 10, 2026 15:20
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