1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 00:20:07 +00:00

copy/move file to enc lib (#5487)

This commit is contained in:
lian
2024-02-07 11:08:41 +08:00
committed by GitHub
parent a84106bb2a
commit 00c2124dff
4 changed files with 137 additions and 62 deletions

View File

@@ -158,7 +158,7 @@ class MoveDirent extends React.Component {
} else {
title = gettext('Move selected item(s) to:');
}
let mode = this.props.repoEncrypted ? 'only_current_library':'current_repo_and_other_repos';
let mode = 'current_repo_and_other_repos';
const { dirent, selectedDirentList } = this.props;
const movedDirent = dirent ? dirent : selectedDirentList[0];
const { permission } = movedDirent;