discourse-adplugin/assets/javascripts/discourse
David Taylor 1677f7ae39
DEV: Pass `post` instead of `transformedPost` to post-bottom-ad (#199)
Changes in 0948d6b19e caused the post-bottom-ad component to start receiving the widget-ised 'transformedPost' instead of the original `post` model. In most cases this difference didn't matter, but it did cause noticable issues with `@model.category` and `@model.topic`.

This commit also deletes the unused `post-bottom/discourse-adplugin.hbs` connector. In the past, the adplugin itself was defining the post-bottom outlet. But now, we use RenderGlimmer to load the `post-bottom-ad` directly.
2024-02-14 13:59:36 +00:00
..
components FIX: Add exclude groups for each ad platforms (#197) 2024-02-08 19:42:40 -07:00
connectors DEV: Pass `post` instead of `transformedPost` to post-bottom-ad (#199) 2024-02-14 13:59:36 +00:00
helpers FIX: Don't render the connector when we shouldn't display an ad in the topic list item. (#146) 2022-07-12 16:13:18 -03:00
initializers DEV: Pass `post` instead of `transformedPost` to post-bottom-ad (#199) 2024-02-14 13:59:36 +00:00