0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-04 10:39:43 +08:00
discourse/plugins/discourse-templates/assets
Natalie Tay f4f5534e58
FIX: Support unloaded categories in template topic options (#41230)
Small follow up to https://github.com/discourse/discourse/pull/41197 -
template topic category options only worked reliably when the category
was already loaded in the client store. For categories that needed the
async lookup path, we were passing an array where the category lookup
endpoint expects a slash path.

This PR keeps the local lookup using slug path segments, then passes a
joined slug path to the async lookup. It also adds coverage for unloaded
top-level categories and unloaded subcategories.
2026-06-29 14:35:07 +08:00
..
javascripts FIX: Support unloaded categories in template topic options (#41230) 2026-06-29 14:35:07 +08:00
stylesheets