@seafile/sdoc-editor 2.0.18-alph-0.0.2 → 2.0.18-alph-0.0.3

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.
@@ -23,6 +23,7 @@ const AddSeatableRowDialog = _ref => {
23
23
  const {
24
24
  table
25
25
  } = data;
26
+ console.log(1, table);
26
27
  const [rowRecordsErrorMessage, setRowRecordsErrorMessage] = (0, _react.useState)('');
27
28
  const {
28
29
  t
@@ -27,6 +27,7 @@ const SeatableTableRecord = _ref => {
27
27
  width: 100
28
28
  }));
29
29
  };
30
+ console.log(33, renderedColumns());
30
31
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_recordContent.default, {
31
32
  table: table,
32
33
  renderedColumns: renderedColumns(),
@@ -38,8 +38,7 @@ const SeaTableList = _ref => {
38
38
  eventBus.dispatch(_constants.INTERNAL_EVENT.INSERT_ELEMENT, {
39
39
  type: _constants2.ELEMENT_TYPE.SEATABLE_ROW,
40
40
  data: {
41
- tableID: item._id,
42
- tableName: item.name
41
+ table: item
43
42
  }
44
43
  });
45
44
  toggle && toggle();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/sdoc-editor",
3
- "version": "2.0.18-alph-0.0.2",
3
+ "version": "2.0.18-alph-0.0.3",
4
4
  "private": false,
5
5
  "description": "This is a sdoc editor",
6
6
  "main": "dist/index.js",