diff --git a/frontend/src/components/nlp/components/NlpValue.tsx b/frontend/src/components/nlp/components/NlpValue.tsx index aac1c9a3..ef6f067b 100644 --- a/frontend/src/components/nlp/components/NlpValue.tsx +++ b/frontend/src/components/nlp/components/NlpValue.tsx @@ -51,9 +51,10 @@ export const NlpValues = ({ entityId }: { entityId: string }) => { entity: EntityType.NLP_ENTITY, format: Format.FULL, }); - const { onSearch, searchPayload } = useSearch({ + const { ref, onSearch, searchPayload } = useSearch({ $eq: [{ entity: entityId }], $or: ["doc", "value"], + queryParam: { key: "search", defaultValue: "" }, }); const { dataGridProps } = useFind( { entity: EntityType.NLP_VALUE, format: Format.FULL }, @@ -228,7 +229,7 @@ export const NlpValues = ({ entityId }: { entityId: string }) => { sx={{ width: "max-content", gap: 1 }} > - + {hasPermission(