mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 07:08:55 +00:00
Add tags to the drop-down menu (#3298)
This commit is contained in:
@@ -81,6 +81,7 @@ class DirentMenu extends React.Component {
|
||||
menuList.push('Move');
|
||||
}
|
||||
menuList.push('Copy');
|
||||
menuList.push('Tags');
|
||||
if (isPro) {
|
||||
if (dirent.is_locked) {
|
||||
if (dirent.locked_by_me || (dirent.lock_owner === 'OnlineOffice' && permission === 'rw')) {
|
||||
@@ -128,6 +129,9 @@ class DirentMenu extends React.Component {
|
||||
case 'Copy':
|
||||
translateResult = gettext('Copy');
|
||||
break;
|
||||
case 'Tags':
|
||||
translateResult = gettext('Tags');
|
||||
break;
|
||||
case 'Permission':
|
||||
translateResult = gettext('Permission');
|
||||
break;
|
||||
|
Reference in New Issue
Block a user