mirror of
https://github.com/discourse/discourse-custom-header-links.git
synced 2025-07-01 19:02:09 +00:00
FIX: adds auto-route to avoid losing queryParams on successive clicks
This commit is contained in:
parent
e84b0a5bb6
commit
bfda9d3b50
@ -18,7 +18,8 @@ customHeaderLinks.split("|").map(i => {
|
|||||||
{
|
{
|
||||||
href: linkHref,
|
href: linkHref,
|
||||||
title: linkTitle,
|
title: linkTitle,
|
||||||
target: linkTarget
|
target: linkTarget,
|
||||||
|
attributes: { "data-auto-route": "true" }
|
||||||
},
|
},
|
||||||
linkText
|
linkText
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user