FIX: load tracked/watched/muted categories on screen loading

This commit is contained in:
Joffrey JAFFEUX 2017-12-20 16:13:33 +01:00 committed by GitHub
parent 081584c676
commit 6e1dd12390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ export default MultiSelectComponent.extend({
computeContent() {
const blacklist = Ember.makeArray(this.get("blacklist"));
return Category.list().filter(category => {
return this.get("computedValues").includes(category.id) ||
return this.get("categories").includes(category) ||
!blacklist.includes(category);
});
}