@dyedurham/search-and-file-widget 2.0.53 → 2.0.54

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.
@@ -85092,10 +85092,13 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
85092
85092
  const affiliations = registration.affiliations;
85093
85093
  if (affiliations) {
85094
85094
  for (const affiliation of affiliations) {
85095
- affiliationsOptions.push({
85096
- label: getPersonName(affiliation.participant),
85097
- value: affiliation._id
85098
- });
85095
+ const affiliationName = getPersonName(affiliation.participant).trim();
85096
+ if (affiliationName) {
85097
+ affiliationsOptions.push({
85098
+ label: affiliationName,
85099
+ value: affiliation._id
85100
+ });
85101
+ }
85099
85102
  const affiliationAddress = affiliation.addresses?.[0] || affiliation.parent_affiliation?.addresses?.[0];
85100
85103
  eplAffiliationDetailsMap.set(affiliation._id, {
85101
85104
  email: getPersonEmail(affiliation.participant),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyedurham/search-and-file-widget",
3
- "version": "2.0.53",
3
+ "version": "2.0.54",
4
4
  "description": "",
5
5
  "main": "dnd-filing-shell.js",
6
6
  "scripts": {