@propriety/court-calendar 1.0.146 → 1.0.147

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/dist/index.mjs CHANGED
@@ -15619,7 +15619,7 @@ const AH = Ml(function({
15619
15619
  mt,
15620
15620
  {
15621
15621
  label: "Negotiator",
15622
- value: o && !isNaN(o) ? `${r[o].UserFirstName} ${r[o].UserLastName}` : "—"
15622
+ value: o && !isNaN(o) && r[o] ? `${r[o].UserFirstName} ${r[o].UserLastName}` : "—"
15623
15623
  }
15624
15624
  ),
15625
15625
  v != null && /* @__PURE__ */ a(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@propriety/court-calendar",
3
3
  "private": false,
4
- "version": "1.0.146",
4
+ "version": "1.0.147",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -152,7 +152,7 @@ const CaseDetails = memo(function CaseDetails({
152
152
  <InfoField
153
153
  label='Negotiator'
154
154
  value={
155
- Negotiator && !isNaN(Negotiator)
155
+ Negotiator && !isNaN(Negotiator) && allUsers[Negotiator]
156
156
  ? `${allUsers[Negotiator].UserFirstName} ${allUsers[Negotiator].UserLastName}`
157
157
  : '—'
158
158
  }