mirror of
https://github.com/discourse/discourse.git
synced 2025-01-21 09:34:00 +08:00
7d0e2b9e7b
This PR changes how we track which lists are available for a topic and how we decide which is the active one. The new approach centralizes everything in the service, and exposes functions for adding/removing a list, which each calls via `did-insert/will-destroy` modifiers. It makes it much easier to track and update state when navigated to another topic or PM, ensuring things get updated correctly. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |