feat: where clause key updates

This commit is contained in:
Yunus M 2025-06-15 03:24:30 +05:30
parent 467e8ff288
commit 200b714306
2 changed files with 6 additions and 2 deletions

View File

@ -127,6 +127,10 @@
font-family: 'Space Mono', monospace !important;
&:hover {
background: var(--bg-ink-100) !important;
}
.cm-completionIcon {
display: none !important;
}

View File

@ -779,10 +779,10 @@ function QuerySearch(): JSX.Element {
// Add back the generateOptions function and useEffect
const generateOptions = (data: any): any[] =>
Object.values(data.keys).flatMap((items: any) =>
items.map(({ name, fieldDataType, fieldContext }: any) => ({
items.map(({ name, fieldDataType }: any) => ({
label: name,
type: fieldDataType === 'string' ? 'keyword' : fieldDataType,
info: fieldContext,
info: '',
details: '',
})),
);