Customization: Fix checkForObsoleteVersion to return null for connect.

This commit is contained in:
Konstantinos Triantafyllou 2023-06-29 10:20:29 +03:00
parent 2ef5d069dd
commit 4b845dd0bd
1 changed files with 3 additions and 0 deletions

View File

@ -174,6 +174,9 @@ export class CustomizationOptions {
}
public static checkForObsoleteVersion(current: CustomizationOptions, communityId: string) {
if(communityId === 'connect') {
return null;
}
let defaultCO = new CustomizationOptions(CustomizationOptions.getIdentity(communityId).mainColor, CustomizationOptions.getIdentity(communityId).secondaryColor);
let updated = Object.assign({}, defaultCO);
if (!current) {