dtable-ui-component 6.0.29-beta13 → 6.0.29-beta14

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.
@@ -205,7 +205,6 @@
205
205
  }
206
206
 
207
207
  .dtable-ui-geolocation-map-editor .search-tables-input {
208
- line-height: 38px;
209
208
  padding-right: 30px;
210
209
  border-bottom: 0;
211
210
  background: #fff;
@@ -51,7 +51,6 @@
51
51
  }
52
52
 
53
53
  .dtable-ui-large-map-editor-dialog .dtable-ui-geolocation-map-editor-large .search-tables-input {
54
- line-height: 38px;
55
54
  padding-right: 30px;
56
55
  border-bottom: 0;
57
56
  background: #fff;
@@ -349,7 +349,7 @@ class MapSelectionEditor extends _react.Component {
349
349
  }
350
350
  }
351
351
  componentWillUnmount() {
352
- if (this.mapType === _mapEditorUtils.MAP_TYPES.B_MAP) {
352
+ if (this.map && this.mapType === _mapEditorUtils.MAP_TYPES.B_MAP) {
353
353
  let center = {};
354
354
  center.zoom = this.map.getZoom();
355
355
  let coordinate = this.map.getCenter();
@@ -355,7 +355,7 @@ class LargeMapSelectionEditorDialog extends _react.default.Component {
355
355
  }
356
356
  }
357
357
  componentWillUnmount() {
358
- if (this.mapType === _mapEditorUtils.MAP_TYPES.B_MAP) {
358
+ if (this.map && this.mapType === _mapEditorUtils.MAP_TYPES.B_MAP) {
359
359
  let center = {};
360
360
  center.zoom = this.map.getZoom();
361
361
  let coordinate = this.map.getCenter();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.29-beta13",
3
+ "version": "6.0.29-beta14",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "4.0.2",