From 909f2fa028b96a55994406418b5dc362e5897b31 Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Thu, 6 Jun 2024 08:40:52 +0200 Subject: [PATCH] Fix copy to "Post excerpt" in newsletter settings (#20344) MOM-209 Currently if the "Show post excerpt inline" is on we show "Subtitle" in newsletter settings, it should always be "Post excerpt" to avoid confusion. --- .../settings/email/newsletters/NewsletterDetailModal.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/admin-x-settings/src/components/settings/email/newsletters/NewsletterDetailModal.tsx b/apps/admin-x-settings/src/components/settings/email/newsletters/NewsletterDetailModal.tsx index d89ae8a92a..74da1d7e4d 100644 --- a/apps/admin-x-settings/src/components/settings/email/newsletters/NewsletterDetailModal.tsx +++ b/apps/admin-x-settings/src/components/settings/email/newsletters/NewsletterDetailModal.tsx @@ -104,7 +104,6 @@ const Sidebar: React.FC<{ const [selectedTab, setSelectedTab] = useState('generalSettings'); const hasEmailCustomization = useFeatureFlag('emailCustomization'); const hasNewsletterExcerpt = useFeatureFlag('newsletterExcerpt'); - const hasEditorSubtitle = useFeatureFlag('editorExcerpt'); const {localSettings} = useSettingGroup(); const [siteTitle] = getSettingValues(localSettings, ['title']) as string[]; const handleError = useHandleError(); @@ -423,7 +422,7 @@ const Sidebar: React.FC<{ updateNewsletter({show_excerpt: e.target.checked})} /> }