FIX: Filter user button shouldn't appear on card when there is already a filter
active.
This commit is contained in:
parent
c9eb809dad
commit
a78048f3fb
|
@ -130,7 +130,7 @@ Discourse.PostStream = Em.Object.extend({
|
|||
|
||||
hasNoFilters: function() {
|
||||
var streamFilters = this.get('streamFilters');
|
||||
return !(streamFilters && ((streamFilters.filter === 'summary') || streamFilters.userFilters));
|
||||
return !(streamFilters && ((streamFilters.filter === 'summary') || streamFilters.username_filters));
|
||||
}.property('streamFilters.[]', 'topic.posts_count', 'posts.length'),
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue