feat: remove loading from document table and fixed the issue where gif images could not be uploaded on the configuration page (#122)
* feat: fixed the issue where gif images could not be uploaded on the configuration page * feat: remove loading from document table
This commit is contained in:
@@ -227,14 +227,6 @@ const KnowledgeFile = () => {
|
||||
return parserList.find((x) => x.value === text)?.label;
|
||||
},
|
||||
},
|
||||
{
|
||||
title: 'Parsing Status',
|
||||
dataIndex: 'run',
|
||||
key: 'run',
|
||||
render: (text, record) => {
|
||||
return <ParsingStatusCell record={record}></ParsingStatusCell>;
|
||||
},
|
||||
},
|
||||
{
|
||||
title: 'Enabled',
|
||||
key: 'status',
|
||||
@@ -250,6 +242,14 @@ const KnowledgeFile = () => {
|
||||
</>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: 'Parsing Status',
|
||||
dataIndex: 'run',
|
||||
key: 'run',
|
||||
render: (text, record) => {
|
||||
return <ParsingStatusCell record={record}></ParsingStatusCell>;
|
||||
},
|
||||
},
|
||||
{
|
||||
title: 'Action',
|
||||
key: 'action',
|
||||
@@ -301,7 +301,7 @@ const KnowledgeFile = () => {
|
||||
rowKey="id"
|
||||
columns={finalColumns}
|
||||
dataSource={data}
|
||||
loading={loading}
|
||||
// loading={loading}
|
||||
pagination={pagination}
|
||||
scroll={{ scrollToFirstRowOnChange: true, x: 1300, y: 'fill' }}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user