@pisell/private-materials 3.0.161 → 3.0.162

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.
@@ -130,6 +130,9 @@ var Single = function Single(_ref) {
130
130
  value: val
131
131
  });
132
132
  }
133
+ if ((field === null || field === void 0 ? void 0 : field.filed_type) === "media") {
134
+ return null;
135
+ }
133
136
  return val || "-";
134
137
  };
135
138
 
@@ -113,6 +113,9 @@ var Single = ({
113
113
  if (queryValueById.includes(field == null ? void 0 : field.filed_type)) {
114
114
  return /* @__PURE__ */ import_react.default.createElement(import_RenderValueById.default, { field, value: val });
115
115
  }
116
+ if ((field == null ? void 0 : field.filed_type) === "media") {
117
+ return null;
118
+ }
116
119
  return val || "-";
117
120
  };
118
121
  const renderItem = (0, import_react.useCallback)(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.0.161",
3
+ "version": "3.0.162",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -60,9 +60,9 @@
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
62
  "@pisell/utils": "1.0.42",
63
- "@pisell/date-picker": "1.0.100",
63
+ "@pisell/materials": "3.0.49",
64
64
  "@pisell/icon": "0.0.11",
65
- "@pisell/materials": "3.0.49"
65
+ "@pisell/date-picker": "1.0.100"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": "^18.0.0",