ods-component-lib 1.17.57 → 1.17.59

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.
@@ -1181,7 +1181,7 @@ function OdsLogin(props) {
1181
1181
  }, "Log in"))));
1182
1182
  }
1183
1183
 
1184
- var exportFormats = ['xlsx', 'pdf'];
1184
+ var exportFormats = ['xlsx'];
1185
1185
  var searchEditorOptions = {
1186
1186
  placeholder: 'Search column'
1187
1187
  };
@@ -1240,9 +1240,11 @@ function grid(props, dataGridRef) {
1240
1240
  };
1241
1241
  var customLoad = function customLoad() {
1242
1242
  var state = JSON.parse(localStorage.getItem(props.exportFileName + "Storage"));
1243
- state.selectedRowKeys = [];
1244
- state.filterValue = [];
1245
- state.selectionFilter = [];
1243
+ if (localStorage.getItem(props.exportFileName + "Storage")) {
1244
+ state.selectedRowKeys = [];
1245
+ state.filterValue = [];
1246
+ state.selectionFilter = [];
1247
+ }
1246
1248
  return state;
1247
1249
  };
1248
1250
  var customSave = function customSave(state) {