mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 08:28:11 +00:00
delete tree-view tags
This commit is contained in:
@@ -168,7 +168,7 @@ class TreeView extends React.Component {
|
||||
getMenuList = (node) => {
|
||||
let menuList = [];
|
||||
|
||||
let { NEW_FOLDER, NEW_FILE, COPY, MOVE, RENAME, DELETE, OPEN_VIA_CLIENT, TAGS} = TextTranslation;
|
||||
let { NEW_FOLDER, NEW_FILE, COPY, MOVE, RENAME, DELETE, OPEN_VIA_CLIENT } = TextTranslation;
|
||||
|
||||
if (!node) {
|
||||
return [NEW_FOLDER, NEW_FILE];
|
||||
@@ -177,7 +177,7 @@ class TreeView extends React.Component {
|
||||
if (node.object.type === 'dir') {
|
||||
menuList = [NEW_FOLDER, NEW_FILE, COPY, MOVE, RENAME, DELETE];
|
||||
} else {
|
||||
menuList = [RENAME, DELETE, COPY, MOVE, TAGS, OPEN_VIA_CLIENT];
|
||||
menuList = [RENAME, DELETE, COPY, MOVE, OPEN_VIA_CLIENT];
|
||||
}
|
||||
|
||||
return menuList;
|
||||
|
Reference in New Issue
Block a user