dtable-statistic 4.4.24-alpha.4 → 4.4.24-alpha.6

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.
@@ -37,7 +37,6 @@ class DesktopDashboard extends _react.Component {
37
37
  });
38
38
  };
39
39
  this.onToggleAddChart = () => {
40
- console.log('onToggleAddChart');
41
40
  this.setState({
42
41
  isShowChartAddDialog: !this.state.isShowChartAddDialog
43
42
  });
@@ -188,7 +187,6 @@ class DesktopDashboard extends _react.Component {
188
187
  stat_items: statItems
189
188
  } = statistic || {};
190
189
  return /*#__PURE__*/_react.default.createElement("div", {
191
- ref: ref => this.desktopDashboardRef = ref,
192
190
  className: (0, _classnames.default)('statistic-them statistic-panel', {
193
191
  'statistic-dark': darkMode,
194
192
  'statistic-light': !darkMode,
@@ -292,7 +290,6 @@ class DesktopDashboard extends _react.Component {
292
290
  onToggleEditChart: this.onToggleEditChart,
293
291
  toggleStatisticRecordsDialog: this.toggleStatisticRecordsDialog
294
292
  }), isShowChartAddDialog && /*#__PURE__*/_react.default.createElement(_seaChart.TypesDialog, {
295
- container: this.desktopDashboardRef,
296
293
  type: "",
297
294
  onToggle: this.onToggleAddChart,
298
295
  onChange: this.onTypeChange
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "4.4.24-alpha.4",
3
+ "version": "4.4.24-alpha.6",
4
4
  "description": "statistics",
5
5
  "main": "dist/dtable-statistic.js",
6
6
  "author": "seafile",
@@ -18,7 +18,7 @@
18
18
  "react-grid-layout": "^1.2.5",
19
19
  "react-intl-universal": "^2.4.8",
20
20
  "reactstrap": "8.9.0",
21
- "sea-chart": "^0.0.42-alpha.0"
21
+ "sea-chart": "^0.0.42-alpha.1"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "dtable-ui-component": "~4.4.*",