mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? feat: Hide KnowledgeGraphModal #162 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -22,7 +22,7 @@ import React, { useEffect, useMemo } from 'react';
|
||||
import { useFetchParserListOnMount } from './hooks';
|
||||
|
||||
import { useTranslate } from '@/hooks/common-hooks';
|
||||
import EntityTypesForm from '../entity-types-form';
|
||||
import EntityTypesItem from '../entity-types-item';
|
||||
import LayoutRecognize from '../layout-recognize';
|
||||
import ParseConfiguration, {
|
||||
showRaptorParseConfiguration,
|
||||
@ -272,7 +272,7 @@ const ChunkMethodModal: React.FC<IProps> = ({
|
||||
{showRaptorParseConfiguration(selectedTag) && (
|
||||
<ParseConfiguration></ParseConfiguration>
|
||||
)}
|
||||
{showEntityTypes && <EntityTypesForm></EntityTypesForm>}
|
||||
{showEntityTypes && <EntityTypesItem></EntityTypesItem>}
|
||||
</Form>
|
||||
</Modal>
|
||||
);
|
||||
|
||||
@ -10,7 +10,7 @@ const initialEntityTypes = [
|
||||
'time',
|
||||
];
|
||||
|
||||
const EntityTypesForm = () => {
|
||||
const EntityTypesItem = () => {
|
||||
const { t } = useTranslate('knowledgeConfiguration');
|
||||
return (
|
||||
<Form.Item
|
||||
@ -26,4 +26,4 @@ const EntityTypesForm = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default EntityTypesForm;
|
||||
export default EntityTypesItem;
|
||||
Reference in New Issue
Block a user