mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
3233bae37c
ref ONC-225 - Ensures newsletter preferences are hidden in the Portal when email functionality is disabled. - Adds conditional logic in NewsletterManagement.js to check for the hasNewslettersEnabled prop. - Updates tests in AccountEmailPage.test.js and AccountHomePage.test.js to cover scenarios where newsletters are disabled. - Improves user experience by preventing the display of irrelevant settings when email is turned off. |
||
---|---|---|
.. | ||
components | ||
images | ||
tests | ||
utils | ||
actions.js | ||
App.css | ||
App.js | ||
App.test.js | ||
AppContext.js | ||
data-attributes.js | ||
index.css | ||
index.js | ||
logo.svg | ||
pages.js | ||
setupTests.js |