PERF: reduces cpu/memory consumption of sk in some cases (#7525)

This commit is contained in:
Joffrey JAFFEUX
2019-05-10 17:12:10 +02:00
committed by GitHub
parent 01bd82139f
commit c093fa0376
6 changed files with 9 additions and 10 deletions

View File

@ -25,7 +25,7 @@ export default SingleSelectComponent.extend({
return isExpanded ? caretUpIcon : caretDownIcon;
},
@on("didReceiveAttrs")
@on("didUpdateAttrs", "init")
_setComboBoxOptions() {
this.get("headerComponentOptions").setProperties({
clearable: this.get("clearable")