mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
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
This commit is contained in:
parent
417c83d3e9
commit
fc7d9d12bb
@ -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<{
|
||||
<Toggle
|
||||
checked={newsletter.show_subhead}
|
||||
direction="rtl"
|
||||
label='Subtitle'
|
||||
label={hasEditorSubtitle ? 'Subtitle' : 'Post excerpt'}
|
||||
onChange={e => updateNewsletter({show_subhead: e.target.checked})}
|
||||
/>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user