1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 17:33:18 +00:00

Optimize repo delete 2 (#4628)

* optimzie group repo delete logic

* repair code bug

* optimize repo delete code
This commit is contained in:
杨顺强
2020-07-27 11:06:59 +08:00
committed by GitHub
parent 25d58bb79f
commit f762b1a311
9 changed files with 98 additions and 56 deletions

View File

@@ -15,7 +15,7 @@ const propTypes = {
sortItems: PropTypes.func,
repoList: PropTypes.array.isRequired,
onItemUnshare: PropTypes.func.isRequired,
onItemDelete: PropTypes.func.isRequired,
onItemDelete: PropTypes.func,
onItemDetails: PropTypes.func,
onItemRename: PropTypes.func,
};