mirror of
https://github.com/discourse/discourse.git
synced 2026-08-07 13:19:19 +08:00
Previously, the `nested-roots-between` ad connector rendered an empty `.ad-connector` div after every root reply, and a house ad always appeared after the first root regardless of `house_ads_after_nth_root`, because the slot-selection logic treats index 0 as a non-between placement and the OR'd placement guards in `house-ad` defeated the nth-root check added in #40198. This change gates the connector with `shouldRender` (mirroring the `after-topic-list-item` connector) and replaces the OR'd guards with a single placement-aware check, so house ads only render after every nth root reply. Follow-up to #40198. |
||
|---|---|---|
| .. | ||
| components | ||
| pages | ||