From 3d540a0fec781121626a986ecedc0883cebc432d Mon Sep 17 00:00:00 2001 From: Marc Itzenthaler Date: Wed, 23 Aug 2023 19:39:41 +0200 Subject: [PATCH] fix: parse colors when they not set --- src/utils/useTenantTheming.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/useTenantTheming.ts b/src/utils/useTenantTheming.ts index 9ced6d905..11ba7da17 100644 --- a/src/utils/useTenantTheming.ts +++ b/src/utils/useTenantTheming.ts @@ -183,7 +183,7 @@ const getOrCreateHeadNode = ( const applyTheming = (tenant: TenantDataInterface) => { if (tenant.theming) { - if (tenant.theming.primaryColor && tenant.theming.secondaryColor) { + if (tenant.theming.primaryColor) { injectCss(tenant.theming); }