0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/apps/admin-x-framework/src
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
..
api Updated ActivityPub Admin X to work with Fedify API 2024-06-24 18:07:09 +01:00
hooks 🐛 Fixed default recipients setting not showing label filters (#20480) 2024-06-27 17:47:26 +02:00
providers 🐛 Fixed trailing slashes not handled in Settings (#19640) 2024-02-01 19:23:22 +02:00
test Added Ghost2Ghost ActivityPub feature that uses mock API (#20411) 2024-06-19 12:46:02 +01:00
utils Updated ActivityPub API root path (#20471) 2024-06-27 11:27:25 +07:00
errors.ts
helpers.ts
hooks.ts Added tests to AdminX framework package (#19022) 2023-11-20 11:00:51 +00:00
index.ts Updated files with mixed named/default exports to use only named exports (#19385) 2023-12-14 16:01:28 +00:00
playwright.ts Updated files with mixed named/default exports to use only named exports (#19385) 2023-12-14 16:01:28 +00:00
routing.ts Updated files with mixed named/default exports to use only named exports (#19385) 2023-12-14 16:01:28 +00:00
vite.ts Created a skeleton AdminX demo app (#19005) 2023-11-20 13:30:15 +00:00