FIX: Don't put non-category in Site.categories (#26664)
This commit is contained in:
parent
6281f5d768
commit
7ce5eac235
|
@ -57,7 +57,6 @@ export function translateResults(results, opts) {
|
|||
|
||||
results.categories = results.categories
|
||||
.map(function (category) {
|
||||
Site.current().updateCategory(category);
|
||||
return Category.list().findBy("id", category.id || category.model.id);
|
||||
})
|
||||
.compact();
|
||||
|
|
Loading…
Reference in New Issue