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

show dirent detail

This commit is contained in:
zhouwenxuan
2024-11-13 17:15:36 +08:00
committed by 杨国璇
parent 1b89962f90
commit 0b30d895f3
11 changed files with 69 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ import KanbanViewToolBar from './kanban-view-toolbar';
import './index.css';
const ViewToolBar = ({ viewId, isCustomPermission, showDetail }) => {
const ViewToolBar = ({ viewId, isCustomPermission, showDetail, closeDetail }) => {
const [view, setView] = useState(null);
const [collaborators, setCollaborators] = useState([]);
@@ -105,6 +105,7 @@ const ViewToolBar = ({ viewId, isCustomPermission, showDetail }) => {
collaborators={collaborators}
modifyFilters={modifyFilters}
modifySorts={modifySorts}
closeDetail={closeDetail}
/>
)}
</div>
@@ -114,7 +115,8 @@ const ViewToolBar = ({ viewId, isCustomPermission, showDetail }) => {
ViewToolBar.propTypes = {
viewId: PropTypes.string,
isCustomPermission: PropTypes.bool,
switchViewMode: PropTypes.func,
showDetail: PropTypes.func,
closeDetail: PropTypes.func,
};
export default ViewToolBar;