1
0
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:
zxj96
2019-04-17 13:23:33 +08:00
committed by Daniel Pan
parent 1d2df97b8c
commit 379d36ecb2
2 changed files with 8 additions and 1 deletions

View File

@@ -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;