Skip to content

Commit

Permalink
Merge pull request #6120 from storybooks/fix/theming-brandImage
Browse files Browse the repository at this point in the history
FIX brandImage staying storybook's logo when theme is created with brandTitle
  • Loading branch information
shilman committed Apr 16, 2019
1 parent e40a430 commit e3c298a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/theming/src/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export const convert = (inherit: ThemeVars = lightThemeVars): Theme => {
brand: {
title: brandTitle,
url: brandUrl,
image: brandImage,
image: brandImage || brandTitle ? null : undefined,
},

code: createSyntax({
Expand Down

0 comments on commit e3c298a

Please sign in to comment.