mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Don't use .@each
dependant keys
This commit is contained in:
parent
6d68aac6eb
commit
55be81faa6
@ -32,7 +32,7 @@ export default Ember.Component.extend({
|
|||||||
return this.get('order') === "op_likes";
|
return this.get('order') === "op_likes";
|
||||||
}.property('order'),
|
}.property('order'),
|
||||||
|
|
||||||
@observes('topics.@each')
|
@observes('topics.[]')
|
||||||
topicsAdded() {
|
topicsAdded() {
|
||||||
// special case so we don't keep scanning huge lists
|
// special case so we don't keep scanning huge lists
|
||||||
if (!this.get('lastVisitedTopic')) {
|
if (!this.get('lastVisitedTopic')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user