1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-26 15:26:19 +00:00

refactor: tree ui (#6228)

* refactor: tree ui

* feat: update code

---------

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
杨国璇
2024-06-19 13:45:11 +08:00
committed by GitHub
parent e252f50101
commit dfe4278679
6 changed files with 24 additions and 10 deletions

View File

@@ -0,0 +1,7 @@
.dir-content-nav .tree-section:first-child {
margin-top: 12px;
}
.dir-content-nav .tree-section:last-child {
margin-bottom: 28px;
}

View File

@@ -8,6 +8,8 @@ import metadataManagerAPI from '../../metadata-manage/api';
import toaster from '../../toast';
import MetadataViews from '../../metadata-manage/metadata-views';
import './index.css';
const DirViews = ({ userPerm, repoID }) => {
const enableMetadataManagement = useMemo(() => {
return window.app.pageOptions.enableMetadataManagement;