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.
This commit is contained in:
parent
a7a1166310
commit
909f2fa028
@ -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<{
|
||||
<Toggle
|
||||
checked={newsletter.show_excerpt}
|
||||
direction="rtl"
|
||||
label={hasEditorSubtitle ? 'Subtitle' : 'Post excerpt'}
|
||||
label="Post excerpt"
|
||||
onChange={e => updateNewsletter({show_excerpt: e.target.checked})}
|
||||
/>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user