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.
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1185,7 +1185,7 @@ function OdsLogin(props) {
|
|
|
1185
1185
|
}, "Log in"))));
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
1188
|
-
var exportFormats = ['xlsx'
|
|
1188
|
+
var exportFormats = ['xlsx'];
|
|
1189
1189
|
var searchEditorOptions = {
|
|
1190
1190
|
placeholder: 'Search column'
|
|
1191
1191
|
};
|
|
@@ -1244,9 +1244,11 @@ function grid(props, dataGridRef) {
|
|
|
1244
1244
|
};
|
|
1245
1245
|
var customLoad = function customLoad() {
|
|
1246
1246
|
var state = JSON.parse(localStorage.getItem(props.exportFileName + "Storage"));
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1247
|
+
if (localStorage.getItem(props.exportFileName + "Storage")) {
|
|
1248
|
+
state.selectedRowKeys = [];
|
|
1249
|
+
state.filterValue = [];
|
|
1250
|
+
state.selectionFilter = [];
|
|
1251
|
+
}
|
|
1250
1252
|
return state;
|
|
1251
1253
|
};
|
|
1252
1254
|
var customSave = function customSave(state) {
|