mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
feat: fetch knowledge detail on KnowledgeUploadFile mount and add category column to chunk table and set initial value for the model field of chat setting (#104)
* feat: set initial value for the model field of chat setting * feat: add category column to chunk table * feat: fetch knowledge detail on KnowledgeUploadFile mount
This commit is contained in:
@ -23,19 +23,13 @@ const App: React.FC = () => {
|
||||
return [
|
||||
{
|
||||
key: '1',
|
||||
label: (
|
||||
<Button type="text" onClick={logout}>
|
||||
{t('header.logout')}
|
||||
</Button>
|
||||
),
|
||||
onClick: logout,
|
||||
label: <Button type="text">{t('header.logout')}</Button>,
|
||||
},
|
||||
{
|
||||
key: '2',
|
||||
label: (
|
||||
<Button type="text" onClick={toSetting}>
|
||||
{t('header.setting')}
|
||||
</Button>
|
||||
),
|
||||
onClick: toSetting,
|
||||
label: <Button type="text">{t('header.setting')}</Button>,
|
||||
},
|
||||
];
|
||||
}, [t]);
|
||||
|
||||
Reference in New Issue
Block a user