diff --git a/package-lock.json b/package-lock.json index d0bf2f0dc..e6f4e1d3c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "@webitel/ui-sdk", - "version": "24.10.3", + "version": "24.10.7", "dependencies": { "@floating-ui/vue": "^1.0.1", "@morev/vue-transitions": "^3.0.2", diff --git a/src/modules/Filters/components/filter-search.vue b/src/modules/Filters/components/filter-search.vue index 403db8ce3..04bc8319c 100644 --- a/src/modules/Filters/components/filter-search.vue +++ b/src/modules/Filters/components/filter-search.vue @@ -71,7 +71,7 @@ const v$ = { $autoDirty: true }, ); -v$.value.$touch(); +if (v$) v$.value.$touch(); async function changeMode({ value }, { clearValue = true } = {}) { if (clearValue) await setValue({ name: filterName.value, value: '' }); diff --git a/src/store/new/modules/tableStoreModule/tableStoreModule.js b/src/store/new/modules/tableStoreModule/tableStoreModule.js index d276b4165..a09e47ba5 100644 --- a/src/store/new/modules/tableStoreModule/tableStoreModule.js +++ b/src/store/new/modules/tableStoreModule/tableStoreModule.js @@ -1,5 +1,8 @@ import FilterEvent from '../../../../modules/Filters/enums/FilterEvent.enum.js'; -import { queryToSortAdapter, sortToQueryAdapter } from '../../../../scripts/sortQueryAdapters.js'; +import { + queryToSortAdapter, + sortToQueryAdapter, +} from '../../../../scripts/sortQueryAdapters.js'; const state = () => ({ headers: [], @@ -18,7 +21,7 @@ const getters = { FIELDS: (state) => { const fields = state.headers.reduce((fields, { show, field }) => { - if (show) return [...fields, field]; + if (show || show === undefined) return [...fields, field]; return fields; }, []);