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

[BUGFIX beta] Allow boolean values for current-when #14848

Merged

Conversation

whatthewhat
Copy link
Contributor

@whatthewhat whatthewhat commented Jan 18, 2017

Quote from the docs for current-when:

A link will be active if `current-when` is `true` or the current
route is the route this link would transition to.

But currently using a boolean value produces a TypeError.

Looks like this might have been broken since 1.13 and #12344 did not seem to actually fix this particular issue.

Related issues: #12512, #12630 (fix was not merged), #12296

As the docs say, `A link will be active if current-when is true`.
Looks like this might have been broken since 1.13 and emberjs#12344
did not seem to actually fix this particular bug.

Related issues:

- emberjs#12512
- emberjs#12630 (fix was not merged)
- emberjs#12296
@whatthewhat whatthewhat force-pushed the link-to-current-when-with-boolean branch from e174b05 to d0f320a Compare June 26, 2017 12:16
@whatthewhat
Copy link
Contributor Author

Rebased and fixed merge conflicts, bump 😉

@locks locks requested a review from Serabe June 26, 2017 13:58
@rwjblue rwjblue merged commit 6569e68 into emberjs:master Jul 29, 2017
@rwjblue
Copy link
Member

rwjblue commented Jul 29, 2017

Thank you!! Sorry for the delay.

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.

None yet

2 participants