Skip to content

Commit

Permalink
Merge a8a24c7 into feature/latestStartDateBug
Browse files Browse the repository at this point in the history
  • Loading branch information
salesforce-org-metaci[bot] authored Dec 16, 2024
2 parents 8b20931 + a8a24c7 commit cf6a452
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion force-app/main/default/lwc/geBatchWizard/geBatchWizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,11 +459,16 @@ export default class geBatchWizard extends NavigationMixin(LightningElement) {
if (dataImportBatch.apiName === formElement.objectApiName) {
dataImportBatch.fields[formElement.fieldApiName] = formElement.value;
} else {
batchDefaults[formElement.label] = {
const fieldElementData = {
objectApiName: formElement.objectApiName,
fieldApiName: formElement.fieldApiName,
value: isNotEmpty(formElement.value) ? formElement.value : undefined
};
if (formElement.fieldApiName === 'AllowFirstInstallment__f'){
batchDefaults[formElement.fieldApiName] = fieldElementData;
} else {
batchDefaults[formElement.label] = fieldElementData;
}
}
}

Expand Down

0 comments on commit cf6a452

Please sign in to comment.