mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 10:29:47 +08:00
e74a9efee1
CategoryChooser component usually displays just categories, but sometimes it can show two none values: a "no category" or Uncategorized. This commit makes sure that these are rendered correctly. The problem was that the "none" item was automatically inserted in the list of options, but that should not always happen. Toggling option `autoInsertNoneItem` requires setting `none` too. |
||
---|---|---|
.. | ||
components | ||
mixins |