From fc7d9d12bbe99f278232f584566f4e1473f2f806 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Tue, 4 Jun 2024 09:42:45 +0100 Subject: [PATCH] Updated subtitle toggle copy closes https://linear.app/tryghost/issue/MOM-188 - subtitle setting copy reflects the subtitle/excerpt terminology based on the subtitle-in-editor beta flag --- .../settings/email/newsletters/NewsletterDetailModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 a053d81346..bd7b93315b 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,6 +104,7 @@ const Sidebar: React.FC<{ const [selectedTab, setSelectedTab] = useState('generalSettings'); const hasEmailCustomization = useFeatureFlag('emailCustomization'); const hasNewsletterSubtitle = useFeatureFlag('newsletterSubtitle'); + const hasEditorSubtitle = useFeatureFlag('editorSubtitle'); const {localSettings} = useSettingGroup(); const [siteTitle] = getSettingValues(localSettings, ['title']) as string[]; const handleError = useHandleError(); @@ -422,7 +423,7 @@ const Sidebar: React.FC<{ updateNewsletter({show_subhead: e.target.checked})} /> }