Skip to content

Commit

Permalink
Revert "Fix: lettercase bug in query-builder (#4120)" (#4255)
Browse files Browse the repository at this point in the history
This reverts commit a6b6abf.

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
  • Loading branch information
makeavish and srikanthccv authored Dec 21, 2023
1 parent 43d5ee9 commit 2031a01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const useSetCurrentKeyAndOperator = (
let result: string[] = [];
const { tagKey, tagOperator, tagValue } = getTagToken(value);
const isSuggestKey = keys?.some(
(el) => el?.key.toLowerCase() === getRemovePrefixFromKey(tagKey),
(el) => el?.key === getRemovePrefixFromKey(tagKey),
);
if (isSuggestKey || keys.length === 0) {
key = tagKey || '';
Expand Down

0 comments on commit 2031a01

Please sign in to comment.