@salesforcedevs/dw-components 1.2.4 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dw-components",
3
- "version": "1.2.4",
3
+ "version": "1.2.8",
4
4
  "description": "Lightning web components for https://developer.salesforce.com",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -22,5 +22,5 @@
22
22
  "@types/lodash.orderby": "^4.6.7",
23
23
  "@types/lodash.uniqby": "^4.7.7"
24
24
  },
25
- "gitHead": "66a0421aca28936a5556a9311aa14b8f175fb02c"
25
+ "gitHead": "5b7a78fd9be8fbcfdb7d97b3ab6da9a734fbd50c"
26
26
  }
@@ -225,7 +225,12 @@ export default class DeSignupForm extends LightningElement {
225
225
  const formData: SignupForm = {
226
226
  user: userData as UserData,
227
227
  eula: this.showLegalCheckbox ? checkboxes.values.eula : ACCEPTED,
228
- default_driver: DEFAULT_DRIVER
228
+ default_driver: DEFAULT_DRIVER,
229
+ InfoEmail__c: this.showLegalCheckbox
230
+ ? checkboxes.values.eula === ACCEPTED
231
+ ? "True"
232
+ : "False"
233
+ : "True"
229
234
  };
230
235
 
231
236
  return formData;
@@ -20,6 +20,7 @@ export type SignupForm = {
20
20
  user: UserData;
21
21
  eula: string;
22
22
  default_driver: string;
23
+ InfoEmail__c: "True" | "False";
23
24
  };
24
25
 
25
26
  type OrgStatus = "New" | "In Progress" | "Error";