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

selected-file-detail (#3140)

This commit is contained in:
Michael An
2019-03-19 18:20:45 +08:00
committed by Daniel Pan
parent 5bbaac6178
commit 7e072871b8
3 changed files with 31 additions and 16 deletions

View File

@@ -25,6 +25,12 @@ const propTypes = {
onItemsCopy: PropTypes.func.isRequired,
onItemsDelete: PropTypes.func.isRequired,
isRepoOwner: PropTypes.bool.isRequired,
enableDirPrivateShare: PropTypes.bool.isRequired,
currentRepoInfo: PropTypes.object.isRequired,
onFileTagChanged: PropTypes.func.isRequired,
unSelectDirent: PropTypes.func.isRequired,
updateDirent: PropTypes.func.isRequired,
showDirentDetail: PropTypes.func.isRequired,
};
class MutipleDirOperationToolbar extends React.Component {
@@ -260,7 +266,7 @@ class MutipleDirOperationToolbar extends React.Component {
for (let i = 0; i < length; i++) {
const dirent = this.props.selectedDirentList[i];
const direntPath = this.getDirentPath(dirent);
this.props.onFilesTagChanged(dirent, direntPath);
this.props.onFileTagChanged(dirent, direntPath);
}
}