Skip to content

Commit

Permalink
Add preprocess pipeline section in Ingest content
Browse files Browse the repository at this point in the history
  • Loading branch information
saikatsarkar056 committed May 7, 2024
1 parent af2620d commit d02d315
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function useSemanticText(props: UseSemanticTextProps) {
}
return false;
},
[modelId]
[ml?.mlApi?.trainedModels]
);

const handleSemanticText = async (data: Field) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const DetailsPageMappingsContent: FunctionComponent<{
jsonData,
refetchMapping,
showAboutMappings,
isSemanticTextEnabled = true,
isSemanticTextEnabled = false,
}) => {
const {
services: { extensionsService },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function registerGetAllRoute({ router, lib: { handleEsError } }: RouteDep
});

return response.ok({
body: models || [],
body: models,
});
} catch (error) {
return handleEsError({ error, response });
Expand Down

0 comments on commit d02d315

Please sign in to comment.