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:
@@ -0,0 +1,7 @@
|
||||
.dir-content-nav .tree-section:first-child {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.dir-content-nav .tree-section:last-child {
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user