Customization: Fix checkForObsoleteVersion to return null for connect.
This commit is contained in:
parent
2ef5d069dd
commit
4b845dd0bd
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue