Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BsNav LinkTo @current-when support #1906

Open
mwalper opened this issue Mar 23, 2023 · 1 comment
Open

BsNav LinkTo @current-when support #1906

mwalper opened this issue Mar 23, 2023 · 1 comment

Comments

@mwalper
Copy link

mwalper commented Mar 23, 2023

Hi,

the linkTo Component from navigation doesn't seem to support @current-when to display active state.

Is there a downside on just using a normal <LinkTo class="nav-link"..> inside Nav.item?
Or is there another way of doing it?

@jelhan
Copy link
Contributor

jelhan commented Mar 23, 2023

Seems like that argument is not passed through:

<LinkTo
@route={{this.route}}
@models={{this._models}}
@query={{this._query}}
@disabled={{@disabled}}
class={{@class}}
...attributes
>
{{yield}}
</LinkTo>
PR fixing it is welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants