mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-12 12:29:02 +08:00
fix: hide web crawl menu item (#1110)
### What problem does this PR solve? fix: hide web crawl menu item #1107 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
7eb69fe6d9
commit
97ced2f667
@ -66,18 +66,18 @@ const DocumentToolbar = ({
|
|||||||
),
|
),
|
||||||
},
|
},
|
||||||
{ type: 'divider' },
|
{ type: 'divider' },
|
||||||
{
|
// {
|
||||||
key: '2',
|
// key: '2',
|
||||||
onClick: showWebCrawlModal,
|
// onClick: showWebCrawlModal,
|
||||||
label: (
|
// label: (
|
||||||
<div>
|
// <div>
|
||||||
<Button type="link">
|
// <Button type="link">
|
||||||
<FileTextOutlined />
|
// <FileTextOutlined />
|
||||||
{t('webCrawl')}
|
// {t('webCrawl')}
|
||||||
</Button>
|
// </Button>
|
||||||
</div>
|
// </div>
|
||||||
),
|
// ),
|
||||||
},
|
// },
|
||||||
{ type: 'divider' },
|
{ type: 'divider' },
|
||||||
{
|
{
|
||||||
key: '3',
|
key: '3',
|
||||||
@ -92,7 +92,7 @@ const DocumentToolbar = ({
|
|||||||
),
|
),
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
}, [showDocumentUploadModal, showWebCrawlModal, showCreateModal, t]);
|
}, [showDocumentUploadModal, showCreateModal, t]);
|
||||||
|
|
||||||
const handleDelete = useCallback(() => {
|
const handleDelete = useCallback(() => {
|
||||||
showDeleteConfirm({
|
showDeleteConfirm({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user