mirror of
https://github.com/discourse/discourse.git
synced 2025-01-16 21:42:47 +08:00
725e146dca
Experimental "What's new?" feature feed items previously calculated a boolean for experimentEnabled on the client based on the siteSettings service, and this would control the initial state of the experiment toggle. However this requires the person who creates the site setting for the experiment to remember to set it to `client: true`. This commit removes that manual step by calculating whether the experiment is enabled server-side, where we have access to all the site settings. |
||
---|---|---|
.. | ||
adapters | ||
components | ||
controllers | ||
helpers | ||
lib | ||
mixins | ||
models | ||
routes | ||
services | ||
templates |