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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user