[develop | DONE | FIXED] customCss add checks if identity/customCss not defined
This commit is contained in:
parent
4727fb7a10
commit
c507f934a0
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue