Ghost/apps
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
..
admin-x-activitypub Added static design for ActivityPub explore 2024-06-24 18:07:09 +01:00
admin-x-demo Update dependency @types/react to v18.3.3 2024-05-27 09:37:46 +02:00
admin-x-design-system Removed unused type field 2024-06-27 10:34:04 +02:00
admin-x-framework 🐛 Fixed default recipients setting not showing label filters (#20480) 2024-06-27 17:47:26 +02:00
admin-x-settings 🐛 Fixed default recipients setting not showing label filters (#20480) 2024-06-27 17:47:26 +02:00
announcement-bar Cleaned up jsdom dependency usage 2024-05-27 09:49:43 +02:00
comments-ui Updated borders in comments CTA box (#20274) 2024-06-18 13:43:53 +02:00
portal Update sentry-javascript monorepo to v7.118.0 2024-06-21 13:07:47 +01:00
signup-form Update storybook monorepo to v7.6.20 2024-06-24 14:55:49 +02:00
sodo-search Cleaned up jsdom dependency usage 2024-05-27 09:49:43 +02:00