mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 02:10:24 +00:00
feat: file details ai (#7251)
Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
@@ -8,7 +8,7 @@ import { Header, Body } from '../detail';
|
||||
import FileDetails from './file-details';
|
||||
import { MetadataContext } from '../../../metadata';
|
||||
import { MetadataDetailsProvider } from '../../../metadata/hooks';
|
||||
import Settings from '../../../metadata/components/metadata-details/settings';
|
||||
import { AI, Settings } from '../../../metadata/components/metadata-details';
|
||||
|
||||
import './index.css';
|
||||
|
||||
@@ -54,6 +54,7 @@ const EmbeddedFileDetails = ({ repoID, repoInfo, dirent, path, onClose, width =
|
||||
style={{ width }}
|
||||
>
|
||||
<Header title={dirent?.name || ''} icon={Utils.getDirentIcon(dirent, true)} onClose={onClose} component={headerComponent} >
|
||||
<AI />
|
||||
<Settings />
|
||||
</Header>
|
||||
<Body>
|
||||
|
Reference in New Issue
Block a user