DEV: Remove reference to Discourse.Category

This commit is contained in:
Penar Musaraj 2020-05-11 18:28:45 -04:00
parent e744b9efec
commit 7cdf41d311
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ export default ComboBoxComponent.extend({
search(filter) {
if (filter) {
let results = Discourse.Category.search(filter);
let results = Category.search(filter);
results = this._filterUncategorized(results).sort((a, b) => {
if (a.parent_category_id && !b.parent_category_id) {
return 1;