FIX: Use one-way binding to prevent unnecessary updates in site.periods
This commit is contained in:
parent
bb67ca9d21
commit
dc292d4598
|
@ -5,7 +5,7 @@ export default DropdownSelectBoxComponent.extend({
|
|||
classNames: ["period-chooser"],
|
||||
rowComponent: "period-chooser/period-chooser-row",
|
||||
headerComponent: "period-chooser/period-chooser-header",
|
||||
content: Ember.computed.alias("site.periods"),
|
||||
content: Ember.computed.oneWay("site.periods"),
|
||||
value: Ember.computed.alias("period"),
|
||||
isHidden: Ember.computed.alias("showPeriods"),
|
||||
|
||||
|
|
Loading…
Reference in New Issue