diff --git a/connect/community/CustomizationOptions.ts b/connect/community/CustomizationOptions.ts index 38ef08b6..dbadc970 100644 --- a/connect/community/CustomizationOptions.ts +++ b/connect/community/CustomizationOptions.ts @@ -25,6 +25,7 @@ export class CustomizationOptions { color: string; //background imageUrl: string; imageFile: string; + position:string; } }; buttons: { @@ -49,7 +50,8 @@ export class CustomizationOptions { form : { color: CustomizationOptions.getRGBA(this.identity.mainColor,0.15), imageUrl : null, - imageFile : null + imageFile : null, + position: null } }; @@ -104,6 +106,9 @@ export class CustomizationOptions { if(!current.backgrounds.form){ current.backgrounds.form = Object.assign({}, updated.backgrounds.form); } + if(!current.backgrounds.form.position){ + current.backgrounds.form.position = "center bottom" + } if(!current.buttons){ current.buttons = Object.assign({}, updated.buttons); }