mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-15 03:01:37 -05:00
Fixed email header divider showing when title+icon are disabled but no publication icon is set
refs https://github.com/TryGhost/Team/issues/755 - the default value for `show_header_icon` is `true` but if there's no publication icon set then it should be read as `false` when rendering the email
This commit is contained in:
parent
7069cc1221
commit
97fec8443b
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ const getTemplateSettings = async () => {
|
|||
const getLabsTemplateSettings = async () => {
|
||||
const templateSettings = {
|
||||
headerImage: settingsCache.get('newsletter_header_image'),
|
||||
showHeaderIcon: settingsCache.get('newsletter_show_header_icon'),
|
||||
showHeaderIcon: settingsCache.get('newsletter_show_header_icon') && settingsCache.get('icon'),
|
||||
showHeaderTitle: settingsCache.get('newsletter_show_header_title'),
|
||||
showFeatureImage: settingsCache.get('newsletter_show_feature_image'),
|
||||
titleFontCategory: settingsCache.get('newsletter_title_font_category'),
|
||||
|
|
Loading…
Add table
Reference in a new issue