@dyedurham/search-and-file-widget 1.6.25 → 1.6.27
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/dnd-filing-shell.js +3 -3
- package/package.json +1 -1
package/dnd-filing-shell.js
CHANGED
|
@@ -59219,7 +59219,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
59219
59219
|
return form;
|
|
59220
59220
|
}),
|
|
59221
59221
|
...ceasedDirectors.map((admin) => {
|
|
59222
|
-
const form = _OntarioUpdateMaintainFormHelper.generateAffiliationForm(admin, IRAffiliationType.Ceased,
|
|
59222
|
+
const form = _OntarioUpdateMaintainFormHelper.generateAffiliationForm(admin, IRAffiliationType.Ceased, comparisonData, directorDeltaData[admin._id]);
|
|
59223
59223
|
form.addControl(IRFormControls.IsCanadianResident, new FormControl(directorDeltaData[admin._id]?.residentCanadian ?? false));
|
|
59224
59224
|
return form;
|
|
59225
59225
|
})
|
|
@@ -59227,7 +59227,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
59227
59227
|
const officerDeltaData = deltaData?.officers ?? {};
|
|
59228
59228
|
config2[InitialReturnFillingFormGroups.Officers] = new FormArray([
|
|
59229
59229
|
...addedOfficers.map((admin) => _OntarioUpdateMaintainFormHelper.generateAffiliationForm(admin, IRAffiliationType.Add, isFirsSubmit ? null : comparisonData, officerDeltaData[admin._id])),
|
|
59230
|
-
...ceasedOfficers.map((admin) => _OntarioUpdateMaintainFormHelper.generateAffiliationForm(admin, IRAffiliationType.Ceased,
|
|
59230
|
+
...ceasedOfficers.map((admin) => _OntarioUpdateMaintainFormHelper.generateAffiliationForm(admin, IRAffiliationType.Ceased, comparisonData, officerDeltaData[admin._id]))
|
|
59231
59231
|
]);
|
|
59232
59232
|
if (cert) {
|
|
59233
59233
|
config2[InitialReturnFillingFormGroups.CertifiedBy] = _OntarioUpdateMaintainFormHelper.generateCertification(cert, deltaData?.certifiedBy);
|
|
@@ -87917,7 +87917,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
87917
87917
|
const mappedCurrentStateName = currentState === IRCurrentState.Added ? "Added" : currentState === IRCurrentState.Ceased ? "Ceased" : "Edited";
|
|
87918
87918
|
const mappedId = matchingAdmin?.Id ?? "";
|
|
87919
87919
|
const mappedRoleId = matchingAdmin?.RoleId ?? "";
|
|
87920
|
-
const personNameRoleId =
|
|
87920
|
+
const personNameRoleId = matchingAdmin?.RoleId;
|
|
87921
87921
|
const mappedCeaseDate = currentState === IRCurrentState.Ceased ? ceaseDate : "";
|
|
87922
87922
|
const mappedElectedDate = currentState === IRCurrentState.Added ? electedDate : "";
|
|
87923
87923
|
const positionName = ECORE_POSITION_CODE_TO_POSITION_NAME[position2?.toUpperCase()];
|