@webitel/ui-sdk 24.4.30 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "24.4.30",
3
+ "version": "24.4.32",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -139,6 +139,7 @@ export default {
139
139
  },
140
140
  },
141
141
  flow: {
142
+ name: 'Flow schema | Flow schemas',
142
143
  type: {
143
144
  [EngineRoutingSchemaType.Chat]: 'Chat',
144
145
  [EngineRoutingSchemaType.Voice]: 'Voice',
@@ -138,6 +138,7 @@ export default {
138
138
  },
139
139
  },
140
140
  flow: {
141
+ name: 'Схема | Схемы',
141
142
  type: {
142
143
  [EngineRoutingSchemaType.Chat]: 'Текстовая',
143
144
  [EngineRoutingSchemaType.Voice]: 'Голосовая',
@@ -138,6 +138,7 @@ export default {
138
138
  },
139
139
  },
140
140
  flow: {
141
+ name: 'Схема | Схеми',
141
142
  type: {
142
143
  [EngineRoutingSchemaType.Chat]: 'Текстова',
143
144
  [EngineRoutingSchemaType.Voice]: 'Голосова',
@@ -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