Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Jul 11, 2024
1 parent 52012c7 commit a231e6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/SearchUtils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type {ValueOf} from 'type-fest';
import type {ASTNode, QueryFilter, QueryFilters, SearchColumnType, SortOrder, AllFieldKeys} from '@components/Search/types';
import type {AllFieldKeys, ASTNode, QueryFilter, QueryFilters, SearchColumnType, SortOrder} from '@components/Search/types';
import ReportListItem from '@components/SelectionList/Search/ReportListItem';
import TransactionListItem from '@components/SelectionList/Search/TransactionListItem';
import type {ListItem, ReportListItemType, TransactionListItemType} from '@components/SelectionList/types';
Expand Down Expand Up @@ -345,7 +345,7 @@ function getFilters(query: string, fields: Array<Partial<AllFieldKeys>>) {

const filters = {} as QueryFilters;

fields.forEach(field => {
fields.forEach((field) => {
const rootFieldKey = field as ValueOf<typeof CONST.SEARCH.SYNTAX_ROOT_KEYS>;
if (jsonQuery[rootFieldKey] === undefined) {
return;
Expand Down

0 comments on commit a231e6c

Please sign in to comment.