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) {
|
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 defaultCO = new CustomizationOptions(CustomizationOptions.getIdentity(communityId).mainColor, CustomizationOptions.getIdentity(communityId).secondaryColor);
|
||||||
let updated = Object.assign({}, defaultCO);
|
let updated = Object.assign({}, defaultCO);
|
||||||
if (!current) {
|
if (!current) {
|
||||||
|
|
Loading…
Reference in New Issue