mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 08:34:33 +08:00
408579e6b2
When navigating between renewables through the Ember router, e.g. through the links in the notifications menu the body of the reviewable (rendered by the CookText component) won't update, resulting in the same post body incorrectly being shown for all subsequent reviewables. This is happening because there is no update path between the rawText attribute being passed to CookText and the computed cooked attribute, since this is being set explicitly using an async function. This PR adds the missing link between rawText and cooked by listening for didUpdate and triggering the async function. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |