mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 22:08:41 +08:00
FIX: load tracked/watched/muted categories on screen loading
This commit is contained in:
parent
081584c676
commit
6e1dd12390
@ -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);
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user