Ghost/apps/admin-x-framework
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
..
src 🐛 Fixed default recipients setting not showing label filters (#20480) 2024-06-27 17:47:26 +02:00
test Added custom headers to be passed to createQuery hook (#20402) 2024-06-19 10:27:07 +07:00
.eslintrc.cjs Separated common AdminX logic into a reusable package (#18919) 2023-11-14 13:50:08 +00:00
.gitignore Moved AdminX test config to framework package (#19096) 2023-11-22 13:39:32 +00:00
package.json Update sentry-javascript monorepo to v7.118.0 2024-06-21 13:07:47 +01:00
tsconfig.declaration.json Separated common AdminX logic into a reusable package (#18919) 2023-11-14 13:50:08 +00:00
tsconfig.json Separated common AdminX logic into a reusable package (#18919) 2023-11-14 13:50:08 +00:00
tsconfig.node.json Separated common AdminX logic into a reusable package (#18919) 2023-11-14 13:50:08 +00:00
vite.config.ts Moved AdminX test config to framework package (#19096) 2023-11-22 13:39:32 +00:00