[FIX] Prevents multiple rows from being selected

This commit is contained in:
Joffrey JAFFEUX 2017-10-20 07:34:29 -07:00 committed by GitHub
parent 0927d75743
commit df4102466c
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ export default Ember.Component.extend(UtilsMixin, {
@computed("templateForRow")
template(templateForRow) { return templateForRow(this); },
@on("didReceiveAttrs", "didUpdateAttrs")
@on("didReceiveAttrs")
_setSelectionState() {
const contentValue = this.get("content.value");
this.set("isSelected", this.get("value") === contentValue);