pxengine 0.1.103 → 0.1.104
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -37903,7 +37903,7 @@ var DataTableCard = import_react71.default.memo(
|
|
|
37903
37903
|
className: cn("border-b border-gray400/40 transition-colors hover:bg-white/[0.02]", rowIdx === safeRows.length - 1 && "border-b-0"),
|
|
37904
37904
|
style: { borderBottomColor: theme?.border },
|
|
37905
37905
|
children: cols.map((col, colIdx) => {
|
|
37906
|
-
const raw = row?.[col.key] ?? row?.[col.label];
|
|
37906
|
+
const raw = Array.isArray(row) ? row[colIdx] : row?.[col.key] ?? row?.[col.label];
|
|
37907
37907
|
const cell = raw ?? "\u2014";
|
|
37908
37908
|
const isHighlight = highlight != null && (col.key === highlight || col.label === highlight);
|
|
37909
37909
|
return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
|