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 release] re-enable link-to when disabledWhen becomes false #13228

Merged
merged 1 commit into from
Apr 1, 2016

Conversation

sly7-7
Copy link
Contributor

@sly7-7 sly7-7 commented Apr 1, 2016

Unless I missed something, when disableWhen is set to true, it was impossible to re-enable the link.
When I read https://github.com/emberjs/ember.js/blob/v2.4.0/packages/ember-routing-views/lib/components/link-to.js#L68, I think this is what the dynamic behavior should be.

@rwjblue rwjblue merged commit bc78f0c into emberjs:master Apr 1, 2016
@rwjblue
Copy link
Member

rwjblue commented Apr 1, 2016

Thanks @sly7-7!

@sly7-7
Copy link
Contributor Author

sly7-7 commented Apr 1, 2016

Glad to help :). As a little side note, I wonder how disabledWhen is used... It's the first time I use it, and this bug appears immediatly. So to be honest I was pretty sure I was missing something...

@sly7-7 sly7-7 deleted the fix-linkTo-disabledWhen branch April 1, 2016 14:21
@Mbehnam
Copy link

Mbehnam commented Apr 1, 2016

what is exactly your point?

@sly7-7
Copy link
Contributor Author

sly7-7 commented Apr 1, 2016

@Mbehnam I have no particular point, actually only very surprised this bug was not encountered earlier.

@rwjblue
Copy link
Member

rwjblue commented Apr 3, 2016

Included in v2.4.4.

@sly7-7
Copy link
Contributor Author

sly7-7 commented Apr 3, 2016

Great, thanks @rwjblue

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.

3 participants