FIX: Filter user button shouldn't appear on card when there is already a filter

active.
This commit is contained in:
Robin Ward 2014-11-04 16:12:42 -05:00
parent c9eb809dad
commit a78048f3fb
1 changed files with 1 additions and 1 deletions

View File

@ -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'),
/**