@webitel/ui-sdk 24.4.31 → 24.4.32
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/ui-sdk.mjs +2307 -2307
- package/dist/ui-sdk.umd.js +10 -10
- package/package.json +1 -1
- package/src/modules/Filters/store/FiltersStoreModule.js +1 -1
package/package.json
CHANGED
|
@@ -111,7 +111,7 @@ export default class FiltersStoreModule extends BaseStoreModule {
|
|
|
111
111
|
// note: restore fn may still return value even if there's no query value
|
|
112
112
|
// from localStorage, for instance
|
|
113
113
|
const value = context.state[filter].restore
|
|
114
|
-
? context.state[filter].restore({ query })
|
|
114
|
+
? context.state[filter].restore({ query, defaultValue: context.state[filter].defaultValue })
|
|
115
115
|
: query;
|
|
116
116
|
if (value) {
|
|
117
117
|
if (filter
|