mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05: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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue