@cccsaurora/howler-ui 2.14.0-dev.245 → 2.14.0-dev.247

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.
@@ -146,7 +146,10 @@ const InformationPane = ({ onClose }) => {
146
146
  hit_worklog: () => _jsx(HitWorklog, { hit: !loading && hit, users: users }),
147
147
  hit_aggregate: () => _jsx(HitSummary, { query: `howler.bundles:(${hit?.howler?.id})` }),
148
148
  hit_related: () => _jsx(HitRelated, { hit: hit }),
149
- ...Object.fromEntries((hit?.howler.dossier ?? []).map((lead, index) => ['lead:' + index, () => _jsx(LeadRenderer, { lead: lead })])),
149
+ ...Object.fromEntries((hit?.howler.dossier ?? []).map((lead, index) => [
150
+ 'lead:' + index,
151
+ () => _jsx(LeadRenderer, { lead: lead, hit: hit })
152
+ ])),
150
153
  ...Object.fromEntries(dossiers.flatMap((_dossier, dossierIndex) => (_dossier.leads ?? []).map((_lead, leadIndex) => [
151
154
  `external-lead:${dossierIndex}:${leadIndex}`,
152
155
  () => _jsx(LeadRenderer, { lead: _lead, hit: hit })
@@ -103,7 +103,7 @@ const HitViewer = () => {
103
103
  hit_data: () => _jsx(JSONViewer, { data: hit?.howler?.data?.map(entry => tryParse(entry)), collapse: false }),
104
104
  hit_worklog: () => _jsx(HitWorklog, { hit: hit, users: users }),
105
105
  hit_related: () => _jsx(HitRelated, { hit: hit }),
106
- ...Object.fromEntries(hit?.howler.dossier?.map((lead, index) => ['lead:' + index, () => _jsx(LeadRenderer, { lead: lead })]) ?? []),
106
+ ...Object.fromEntries(hit?.howler.dossier?.map((lead, index) => ['lead:' + index, () => _jsx(LeadRenderer, { lead: lead, hit: hit })]) ?? []),
107
107
  ...Object.fromEntries(dossiers.flatMap((_dossier, dossierIndex) => (_dossier.leads ?? []).map((_lead, leadIndex) => [
108
108
  `external-lead:${dossierIndex}:${leadIndex}`,
109
109
  () => _jsx(LeadRenderer, { lead: _lead, hit: hit })
package/package.json CHANGED
@@ -95,7 +95,7 @@
95
95
  "internal-slot": "1.0.7"
96
96
  },
97
97
  "type": "module",
98
- "version": "2.14.0-dev.245",
98
+ "version": "2.14.0-dev.247",
99
99
  "exports": {
100
100
  "./i18n": "./i18n.js",
101
101
  "./index.css": "./index.css",