mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
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. |
||
---|---|---|
.. | ||
admin-x-activitypub | ||
admin-x-demo | ||
admin-x-design-system | ||
admin-x-framework | ||
admin-x-settings | ||
announcement-bar | ||
comments-ui | ||
portal | ||
posts | ||
shade | ||
signup-form | ||
sodo-search |