datastake-daf 0.6.381 → 0.6.382

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.
@@ -45831,7 +45831,7 @@ const CustomLegend = ({
45831
45831
  paddingTop: "16px",
45832
45832
  ...style
45833
45833
  },
45834
- children: items.map((item, index) => /*#__PURE__*/jsxRuntime.jsxs("div", {
45834
+ children: items?.map((item, index) => /*#__PURE__*/jsxRuntime.jsxs("div", {
45835
45835
  onClick: () => interactive && onToggle && onToggle(item.id),
45836
45836
  style: {
45837
45837
  display: "flex",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.381",
3
+ "version": "0.6.382",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -22,7 +22,7 @@ const CustomLegend = ({
22
22
  ...style,
23
23
  }}
24
24
  >
25
- {items.map((item, index) => (
25
+ {items?.map((item, index) => (
26
26
  <div
27
27
  key={index}
28
28
  onClick={() => interactive && onToggle && onToggle(item.id)}