mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-11 13:59:02 +08:00
This reverts commit a6b6abf1a7e5ee4a34dacad0a8e39c32eda44c80. Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
This commit is contained in:
parent
43d5ee9651
commit
2031a014a7
@ -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 || '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user