From c507f934a06723c3098d672d0f724c98da680b0e Mon Sep 17 00:00:00 2001 From: argirok Date: Mon, 9 Sep 2024 12:54:04 +0300 Subject: [PATCH] [develop | DONE | FIXED] customCss add checks if identity/customCss not defined --- connect/community/CustomizationOptions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect/community/CustomizationOptions.ts b/connect/community/CustomizationOptions.ts index 133ffed3..5b552055 100644 --- a/connect/community/CustomizationOptions.ts +++ b/connect/community/CustomizationOptions.ts @@ -187,7 +187,7 @@ export class CustomizationOptions { if (current.identity && current.identity.mainColor && current.identity.secondaryColor) { updated = new CustomizationOptions(current.identity.mainColor, current.identity.secondaryColor); } - if(!current.identity.customCss){ + if(current.identity && !current.identity.customCss){ current.identity.customCss = defaultCO.identity.customCss; } if (!current.backgrounds) {