mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 21:03:29 +03:00
Fixed subscription access route in Admin settings (#18538)
refs https://ghost.slack.com/archives/C0568LN2CGJ/p1696844453572279 - we renamed the access route to members route and never updated the link. - This adds the correct link in the newsletter sending setting. --- <!-- Leave the line below if you'd like GitHub Copilot to generate a summary from your commit --> <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at a62962d</samp> Fixed a navigation bug in the email settings UI and refactored the settings UI for better usability. Updated the `onClick` handler of the `Banner` button in `EnableNewsletters.tsx` and other related files.
This commit is contained in:
parent
c3ab2d322f
commit
00cfecadf4
@ -67,7 +67,7 @@ const EnableNewsletters: React.FC<{ keywords: string[] }> = ({keywords}) => {
|
||||
{isDisabled &&
|
||||
<Banner className='mt-6 text-sm' color='grey'>
|
||||
Your <button className='!underline' type="button" onClick={() => {
|
||||
updateRoute('access');
|
||||
updateRoute('members');
|
||||
}}>Subscription access</button> is set to ‘Nobody’, only existing members will receive newsletters.
|
||||
</Banner>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user