mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-26 13:35:16 +03:00
Fixed sidebar order of Newsletters section - X (#18493)
refs https://ghost.slack.com/archives/C0568LN2CGJ/p1696490815762949 - Fixed a tiny issue where the Sidebar Navigation doesn't align with the newsletter options. - Got rid of some unused commented out code that's not needed.
This commit is contained in:
parent
d1b92a04a3
commit
929d05a33b
@ -5,18 +5,6 @@ import EmailSettings from './settings/email/EmailSettings';
|
||||
import GeneralSettings from './settings/general/GeneralSettings';
|
||||
import MembershipSettings from './settings/membership/MembershipSettings';
|
||||
import SiteSettings from './settings/site/SiteSettings';
|
||||
// import UnsplashSearchModal from '../utils/unsplash/UnsplashSearchModal';
|
||||
|
||||
// const API_VERSION = 'v1';
|
||||
// const API_TOKEN = '8672af113b0a8573edae3aa3713886265d9bb741d707f6c01a486cde8c278980';
|
||||
|
||||
// export const defaultHeaders = {
|
||||
// Authorization: `Client-ID ${API_TOKEN}`,
|
||||
// 'Accept-Version': API_VERSION,
|
||||
// 'Content-Type': 'application/json',
|
||||
// 'App-Pragma': 'no-cache',
|
||||
// 'X-Unsplash-Cache': true
|
||||
// };
|
||||
|
||||
const Settings: React.FC = () => {
|
||||
return (
|
||||
|
@ -106,8 +106,8 @@ const Sidebar: React.FC = () => {
|
||||
<SettingNavItem keywords={emailSearchKeywords.enableNewsletters} navid='enable-newsletters' title="Newsletter sending" onClick={handleSectionClick} />
|
||||
{newslettersEnabled !== 'disabled' && (
|
||||
<>
|
||||
<SettingNavItem keywords={emailSearchKeywords.newsletters} navid='newsletters' title="Newsletters" onClick={handleSectionClick} />
|
||||
<SettingNavItem keywords={emailSearchKeywords.defaultRecipients} navid='default-recipients' title="Default recipients" onClick={handleSectionClick} />
|
||||
<SettingNavItem keywords={emailSearchKeywords.newsletters} navid='newsletters' title="Newsletters" onClick={handleSectionClick} />
|
||||
{!config.mailgunIsConfigured && <SettingNavItem keywords={emailSearchKeywords.mailgun} navid='mailgun' title="Mailgun settings" onClick={handleSectionClick} />}
|
||||
</>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user