From ac0195ae80efc5aefce6fc0dfe3a3c60180bd7e2 Mon Sep 17 00:00:00 2001 From: Maksim Maksimenko <85788646+mskmee@users.noreply.github.com> Date: Tue, 26 Sep 2023 09:35:53 +0300 Subject: [PATCH] bt-541: * filter form type --- .../candidate-filter-form/constants/mock-constants.ts | 2 +- .../types/employer-types/employees-filters-form.type.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mobile/src/bundles/employer/components/candidate-filter-form/constants/mock-constants.ts b/mobile/src/bundles/employer/components/candidate-filter-form/constants/mock-constants.ts index c40cadc31..4eed23926 100644 --- a/mobile/src/bundles/employer/components/candidate-filter-form/constants/mock-constants.ts +++ b/mobile/src/bundles/employer/components/candidate-filter-form/constants/mock-constants.ts @@ -2,7 +2,7 @@ import { type AutocompleteMultiSelectorValue } from '~/bundles/common/types/type import { type EmployeesFiltersForm } from '~/bundles/employer/types/types'; const DEFAULT_VALUES: EmployeesFiltersForm = { - sortBy: undefined, + sortBy: '', isSearchActiveCandidatesOnly: true, jobTitle: [], hardSkills: [], diff --git a/mobile/src/bundles/employer/types/employer-types/employees-filters-form.type.ts b/mobile/src/bundles/employer/types/employer-types/employees-filters-form.type.ts index 10cbd2c4b..ff954c451 100644 --- a/mobile/src/bundles/employer/types/employer-types/employees-filters-form.type.ts +++ b/mobile/src/bundles/employer/types/employer-types/employees-filters-form.type.ts @@ -10,6 +10,7 @@ type SelectorValues = Omit< | 'isBaseSearch' | 'searchValue' | 'BSABadges' + | 'searchType' >; type EmployeesFiltersForm = Pick<