Ghost/apps/admin-x-settings/src/components
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
..
providers
selectors Extracted Unsplash Selector from AdminX (#19849) 2024-03-12 22:40:33 +02:00
settings 🐛 Fixed default recipients setting not showing label filters (#20480) 2024-06-27 17:47:26 +02:00
ExitSettingsButton.tsx
SearchableSection.tsx
Settings.tsx
Sidebar.tsx
TopLevelGroup.tsx