mirror of
https://github.com/discourse/discourse-custom-header-links.git
synced 2025-03-09 14:18:22 +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,
|
||||
title: linkTitle,
|
||||
target: linkTarget
|
||||
target: linkTarget,
|
||||
attributes: { "data-auto-route": "true" }
|
||||
},
|
||||
linkText
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user