ywana-core8 0.0.428 → 0.0.429

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.
@@ -28,7 +28,6 @@ var fetchAsync = function fetchAsync(method, URL, body, token, headers) {
28
28
  }
29
29
 
30
30
  try {
31
- console.log('FETCH', method, URL);
32
31
  var requestHeaders = Object.assign({}, {
33
32
  "Accept": "application/json",
34
33
  "Content-Type": "application/json",
@@ -40,7 +39,6 @@ var fetchAsync = function fetchAsync(method, URL, body, token, headers) {
40
39
  headers: requestHeaders,
41
40
  body: body
42
41
  };
43
- console.log("HTTP Client", request);
44
42
  if (headers) request.headers = request.headers;
45
43
  return Promise.resolve(_catch$2(function () {
46
44
  return Promise.resolve(fetch(URL, request)).then(function (response) {
@@ -1763,10 +1761,8 @@ var DataTableCell = function DataTableCell(_ref4) {
1763
1761
 
1764
1762
 
1765
1763
  var EntityCellViewer = function EntityCellViewer(_ref5) {
1766
- var id = _ref5.id,
1767
- item = _ref5.item,
1764
+ var item = _ref5.item,
1768
1765
  value = _ref5.value;
1769
- console.log(id, item, value);
1770
1766
  var fields = Object.values(item).filter(function (field) {
1771
1767
  return field.column === true;
1772
1768
  });
@@ -5217,6 +5213,7 @@ var FieldViewer = function FieldViewer(props) {
5217
5213
  var field = props.field,
5218
5214
  value = props.value;
5219
5215
  var type = field.type,
5216
+ item = field.item,
5220
5217
  label = field.label,
5221
5218
  _field$visible = field.visible,
5222
5219
  visible = _field$visible === void 0 ? true : _field$visible;
@@ -5238,7 +5235,7 @@ var FieldViewer = function FieldViewer(props) {
5238
5235
  case TYPES.ARRAY:
5239
5236
  return value.map(function (v) {
5240
5237
  return /*#__PURE__*/React.createElement(FieldViewer, {
5241
- field: field,
5238
+ field: item,
5242
5239
  value: v
5243
5240
  });
5244
5241
  });