Skip to content

Commit

Permalink
Merge "[ui] Fix adding filters for sql table" into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Timin authored and Gerrit Code Review committed Sep 30, 2024
2 parents 4913d62 + c4d875b commit 43b3062
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/src/frontend/widgets/sql/table/render_cell_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export function getStandardFilters(
filterOptionMenuItem(
option,
c,
(cols) => `${cols[0]} ${FILTER_OPTION_TO_OP[option]}`,
(cols) => `${cols[0]} ${FILTER_OPTION_TO_OP[option].op}`,
tableManager,
),
);
Expand All @@ -107,7 +107,7 @@ export function getStandardFilters(
option,
c,
(cols) =>
`${cols[0]} ${FILTER_OPTION_TO_OP[option]} ${sqliteString(value)}`,
`${cols[0]} ${FILTER_OPTION_TO_OP[option].op} ${sqliteString(value)}`,
tableManager,
),
);
Expand All @@ -117,7 +117,7 @@ export function getStandardFilters(
filterOptionMenuItem(
option,
c,
(cols) => `${cols[0]} ${FILTER_OPTION_TO_OP[option]} ${value}`,
(cols) => `${cols[0]} ${FILTER_OPTION_TO_OP[option].op} ${value}`,
tableManager,
),
);
Expand Down

0 comments on commit 43b3062

Please sign in to comment.