mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 10:03:41 +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. |
||
---|---|---|
.. | ||
addon | ||
app | ||
.npmrc | ||
ember-cli-build.js | ||
index.js | ||
package.json |