From 976798181b517514f720638e3236b7d6e4355e90 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Sat, 16 Mar 2019 00:22:16 +0100 Subject: [PATCH] CHANGE theme creation so when setting brandTitle, it sets brandImage to null if not supplied also --- lib/theming/src/create.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/theming/src/create.ts b/lib/theming/src/create.ts index 6f2b722c1d69..2e09727ba806 100644 --- a/lib/theming/src/create.ts +++ b/lib/theming/src/create.ts @@ -170,7 +170,7 @@ export const convert = (inherit: ThemeVars = lightThemeVars): Theme => { brand: { title: brandTitle, url: brandUrl, - image: brandImage, + image: brandImage || brandTitle ? null : undefined, }, code: createSyntax({