@salesgenterp/ui-components 0.4.83 → 0.4.84

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 CHANGED
@@ -3560,7 +3560,7 @@ var loadCachedTableState = function loadCachedTableState(_ref2) {
3560
3560
 
3561
3561
  var ErCache = /*#__PURE__*/function () {
3562
3562
  function ErCache() {
3563
- this.sessionStorage = window.sessionStorage;
3563
+ this.sessionStorage = typeof window !== 'undefined' ? window.sessionStorage : {};
3564
3564
  }
3565
3565
 
3566
3566
  var _proto = ErCache.prototype;