mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-29 04:01:24 +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()) {
|
||||
opList.push({
|
||||
'icon': 'upload-files',
|
||||
'text': gettext('Upload'),
|
||||
subOpList: [
|
||||
{ 'text': gettext('Upload Files'), 'onClick': this.onUploadFile },
|
||||
{ 'text': gettext('Upload Folder'), 'onClick': this.onUploadFolder }
|
||||
]
|
||||
'text': gettext('Upload Files'),
|
||||
'onClick': this.onUploadFile
|
||||
}, {
|
||||
'icon': 'upload-files',
|
||||
'text': gettext('Upload Folder'),
|
||||
'onClick': this.onUploadFolder
|
||||
});
|
||||
} else {
|
||||
opList.push({
|
||||
|
Loading…
Reference in New Issue
Block a user