diff --git a/src/VirtoCommerce.Platform.Web/wwwroot/js/common/uiGridUtils.js b/src/VirtoCommerce.Platform.Web/wwwroot/js/common/uiGridUtils.js index 9929b87ef0..1cd46f88f0 100644 --- a/src/VirtoCommerce.Platform.Web/wwwroot/js/common/uiGridUtils.js +++ b/src/VirtoCommerce.Platform.Web/wwwroot/js/common/uiGridUtils.js @@ -59,9 +59,15 @@ angular.module('platformWebApp') if (gridApi.saveState) { if (savedState) { - //$timeout(function () { + + Object.keys(savedState).forEach(function (key) { + const value = savedState[key]; + if (_.isEmpty(value)) { + savedState[key] = undefined; + } + }); + gridApi.saveState.restore($scope, savedState); - //}, 10); } if (gridApi.colResizable)