mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 12:42:57 +08:00
680cf443f4
This commit refactor CategoryList to remove usage of EmberObject, hopefully make the code more readable and fixes various edge cases with lazy loaded categories (third level subcategories not being visible, subcategories not being visible on category page, requesting for more pages even if the last one did not return any results, etc). The problems have always been here, but were not visible because a lot of the processing was handled by the server and then the result was serialized. With more of these being moved to the client side for the lazy category loading, the problems became more obvious. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |