mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
FIX: Set allowUncategorized SelectKit option (#25440)
CategoryRow component uses allowUncategorized SelectKit option to decide whether to show the "Uncategorized" category or not. This was undefined which lead to "Uncategorized" category being always hidden causing a minor visual glitch.
This commit is contained in:
parent
08b882097a
commit
76647d3a34
@ -2,6 +2,7 @@ import { computed } from "@ember/object";
|
||||
import { readOnly } from "@ember/object/computed";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
import { categoryBadgeHTML } from "discourse/helpers/category-link";
|
||||
import { setting } from "discourse/lib/computed";
|
||||
import DiscourseURL, {
|
||||
getCategoryAndTagUrl,
|
||||
getEditCategoryUrl,
|
||||
@ -39,6 +40,7 @@ export default ComboBoxComponent.extend({
|
||||
displayCategoryDescription: "displayCategoryDescription",
|
||||
headerComponent: "category-drop/category-drop-header",
|
||||
parentCategory: false,
|
||||
allowUncategorized: setting("allow_uncategorized_topics"),
|
||||
},
|
||||
|
||||
modifyComponentForRow() {
|
||||
|
Loading…
Reference in New Issue
Block a user