Ghost/apps/admin-x-settings/test
Sag 5dfee47fca
🐛 Fixed default recipients setting not showing label filters (#20480)
fixes https://linear.app/tryghost/issue/SLO-171

- problem: when the Default Recipient setting is set to "Specific
people" and is filtered by a label, we were not able to render the label
correctly
- cause: during the rendering, we look for labels by `id`, but they're
stored by `slug` in the database setting
`editor_default_email_recipients_filter`
- solution: allow to look by the relevant key, by introducing a
programmatic `key` to search for

Before the fix:
https://github.com/TryGhost/Ghost/assets/6225080/aed5fc31-6409-4986-aafe-557073c7f355


After the fix:
https://github.com/TryGhost/Ghost/assets/6225080/f35b2607-5f22-42be-b1bb-92f35ccc9ab7
2024-06-27 17:47:26 +02:00
..
acceptance 🐛 Fixed default recipients setting not showing label filters (#20480) 2024-06-27 17:47:26 +02:00
unit Added PostHog to admin-x-settings trackEvent function (#20013) 2024-04-11 19:35:30 -07:00
utils 🐛 Fixed admin error when trying to overwrite a default theme (#20299) 2024-05-30 15:55:45 -07:00