{"action":"closed","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/16505","repository_url":"https://api.github.com/repos/emberjs/ember.js","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/16505/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/16505/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/16505/events","html_url":"https://github.com/emberjs/ember.js/issues/16505","id":313684190,"number":16505,"title":"[3.1.0] \"class\" attribute not being recomputed","user":{"login":"boris-petrov","id":278940,"avatar_url":"https://avatars3.githubusercontent.com/u/278940?v=4","gravatar_id":"","url":"https://api.github.com/users/boris-petrov","html_url":"https://github.com/boris-petrov","followers_url":"https://api.github.com/users/boris-petrov/followers","following_url":"https://api.github.com/users/boris-petrov/following{/other_user}","gists_url":"https://api.github.com/users/boris-petrov/gists{/gist_id}","starred_url":"https://api.github.com/users/boris-petrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boris-petrov/subscriptions","organizations_url":"https://api.github.com/users/boris-petrov/orgs","repos_url":"https://api.github.com/users/boris-petrov/repos","events_url":"https://api.github.com/users/boris-petrov/events{/privacy}","received_events_url":"https://api.github.com/users/boris-petrov/received_events","type":"User","site_admin":false},"labels":[{"id":58111951,"url":"https://api.github.com/repos/emberjs/ember.js/labels/Regression","name":"Regression","color":"e11d21","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/emberjs/ember.js/milestones/36","html_url":"https://github.com/emberjs/ember.js/milestone/36","labels_url":"https://api.github.com/repos/emberjs/ember.js/milestones/36/labels","id":3285491,"number":36,"title":"v3.1.x","description":null,"creator":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars0.githubusercontent.com/u/12637?v=4","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":10,"state":"open","created_at":"2018-04-20T21:45:01Z","updated_at":"2018-04-22T13:51:03Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-04-12T11:22:04Z","updated_at":"2018-04-22T13:51:03Z","closed_at":"2018-04-22T13:51:03Z","author_association":"NONE","body":"We have something like this in a template:\r\n\r\n```hbs\r\n{{some-component classNames=\"some-class fade\" class=(if isLoggedIn \"in\")}}\r\n```\r\n\r\nThis used to work fine until `3.1.0` - that is, when `isLoggedIn` is true, in addition to the classes in `classNames`, `in` is added. When `isLoggedIn` is false, then only the classes from `classNames` are used. However, in `3.1.0` this doesn't work any more. `in` is not added even when `isLoggedIn` is true. It works only if we add a non-empty string to the else clause - `(if isLoggedIn \"in\" \"some-non-relevant-class\")`."}}
{"actor":{"display_login":"rwjblue"}}