2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

Don't use .@each dependant keys

This commit is contained in:
Robin Ward 2016-10-25 14:29:03 -04:00
parent 6d68aac6eb
commit 55be81faa6

View file

@ -32,7 +32,7 @@ export default Ember.Component.extend({
return this.get('order') === "op_likes";
}.property('order'),
@observes('topics.@each')
@observes('topics.[]')
topicsAdded() {
// special case so we don't keep scanning huge lists
if (!this.get('lastVisitedTopic')) {