ods-component-lib 1.17.89 → 1.17.90
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 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -1243,16 +1243,20 @@ function grid(props, dataGridRef) {
|
|
|
1243
1243
|
var state = JSON.parse(localStorage.getItem(props.exportFileName + "Storage"));
|
|
1244
1244
|
if (localStorage.getItem(props.exportFileName + "Storage")) {
|
|
1245
1245
|
state.selectedRowKeys = [];
|
|
1246
|
-
state.filterPanel = {
|
|
1246
|
+
if (props.filterEnabledShow) state.filterPanel = {
|
|
1247
1247
|
filterEnabled: false
|
|
1248
|
+
};else state.filterPanel = {
|
|
1249
|
+
filterEnabled: true
|
|
1248
1250
|
};
|
|
1249
1251
|
}
|
|
1250
1252
|
return state;
|
|
1251
1253
|
};
|
|
1252
1254
|
var customSave = function customSave(state) {
|
|
1253
1255
|
state.selectedRowKeys = [];
|
|
1254
|
-
state.filterPanel = {
|
|
1256
|
+
if (props.filterEnabledShow) state.filterPanel = {
|
|
1255
1257
|
filterEnabled: false
|
|
1258
|
+
};else state.filterPanel = {
|
|
1259
|
+
filterEnabled: true
|
|
1256
1260
|
};
|
|
1257
1261
|
localStorage.setItem(props.exportFileName + "Storage", JSON.stringify(state));
|
|
1258
1262
|
};
|