mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-29 20:14:19 +00:00
['dir view' page] the toolbar: moved the options 'Upload Files', 'Upload Folder' to the first level menu (#6434)
This commit is contained in:
parent
3d36504ce6
commit
516f87fc30
@ -179,11 +179,12 @@ class DirOperationToolbar extends React.Component {
|
|||||||
if (Utils.isSupportUploadFolder()) {
|
if (Utils.isSupportUploadFolder()) {
|
||||||
opList.push({
|
opList.push({
|
||||||
'icon': 'upload-files',
|
'icon': 'upload-files',
|
||||||
'text': gettext('Upload'),
|
'text': gettext('Upload Files'),
|
||||||
subOpList: [
|
'onClick': this.onUploadFile
|
||||||
{ 'text': gettext('Upload Files'), 'onClick': this.onUploadFile },
|
}, {
|
||||||
{ 'text': gettext('Upload Folder'), 'onClick': this.onUploadFolder }
|
'icon': 'upload-files',
|
||||||
]
|
'text': gettext('Upload Folder'),
|
||||||
|
'onClick': this.onUploadFolder
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
opList.push({
|
opList.push({
|
||||||
|
Loading…
Reference in New Issue
Block a user