discourse/app
Osama Sayegh c0e2fdd200
FIX: Components mobile-specific CSS was missing (#12259)
Fix for: https://meta.discourse.org/t/our-components-stop-working/181580?u=osama.

This fixes an old hidden bug that was exposed in cf0192018e. The bug is that we call the `Stylesheet::Manager.stylesheet_details` method with the `target` arg as `:mobile_theme` when we want to retrieve a theme component's mobile CSS. The problem is that this `target` value will at some point be looked up in the `Theme.targets` enum which doesn't have a `:mobile_theme` key, instead it has `:mobile` key.

This commit adds a step that removes the `_theme` suffix in the `Theme.list_baked_fields` method to fix this problem.
2021-03-02 17:20:43 +03:00
..
assets FIX: CSS tweaks so bookmark + timer modal work on mobile (#12253) 2021-03-02 16:55:41 +10:00
controllers FIX: Skip sending PM email for user silence (#12240) 2021-03-02 09:18:09 +10:00
helpers A11Y: sets the html lang to user's locale when possible (#12007) 2021-02-10 16:12:09 +01:00
jobs FIX: Reduce the time_read threshold to one minute. (#12159) 2021-02-20 08:25:32 -03:00
mailers FIX: Skip sending PM email for user silence (#12240) 2021-03-02 09:18:09 +10:00
models FIX: Components mobile-specific CSS was missing (#12259) 2021-03-02 17:20:43 +03:00
serializers Add watched words of type "replace" (#12020) 2021-02-25 14:00:58 +02:00
services FIX: Skip sending PM email for user silence (#12240) 2021-03-02 09:18:09 +10:00
views FIX: adds google tracking to page publishing (#12090) 2021-02-15 19:00:35 +01:00