0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/apps/admin-x-framework
Chris Raible 376b9209c3
Added ability to disable Newsletter clicks toggle in settings (#22090)
ref
https://linear.app/ghost/issue/ENG-1974/create-config-option-to-forcibly-disable-email-track-clicks

- With the ability to override a setting via configuration, we also need
to disable the setting's toggle in the UI to signal to the user that it
cannot be changed.
- This commit sets `disabled: true` on the `Newsletter clicks` toggle if
`is_read_only` is set to `true` on the `email_track_clicks` setting
returned from the API, and establishes a pattern that we can use for
other settings in the future, if desired.
2025-01-30 17:06:17 -08:00
..
src Added ability to disable Newsletter clicks toggle in settings (#22090) 2025-01-30 17:06:17 -08:00
test Added ability to disable Newsletter clicks toggle in settings (#22090) 2025-01-30 17:06:17 -08:00
.eslintrc.cjs
.gitignore Moved AdminX test config to framework package (#19096) 2023-11-22 13:39:32 +00:00
package.json Update dependency react-router to v7.1.4 (#22086) 2025-01-30 17:55:28 +00:00
tsconfig.declaration.json
tsconfig.json
tsconfig.node.json
vite.config.ts Adding Posts analytics React app (#21878) 2024-12-19 12:01:08 +01:00