mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-21 03:18:23 +00:00
feat: remove list sdoc revisions (#5565)
This commit is contained in:
@@ -527,7 +527,7 @@ export const Utils = {
|
|||||||
getFileOperationList: function(isRepoOwner, currentRepoInfo, dirent, isContextmenu) {
|
getFileOperationList: function(isRepoOwner, currentRepoInfo, dirent, isContextmenu) {
|
||||||
let list = [];
|
let list = [];
|
||||||
const { SHARE, DOWNLOAD, DELETE, RENAME, MOVE, COPY, TAGS, UNLOCK, LOCK, MARK_AS_DRAFT, UNMARK_AS_DRAFT,
|
const { SHARE, DOWNLOAD, DELETE, RENAME, MOVE, COPY, TAGS, UNLOCK, LOCK, MARK_AS_DRAFT, UNMARK_AS_DRAFT,
|
||||||
LIST_REVISIONS, COMMENT, HISTORY, ACCESS_LOG, OPEN_VIA_CLIENT, ONLYOFFICE_CONVERT } = TextTranslation;
|
COMMENT, HISTORY, ACCESS_LOG, OPEN_VIA_CLIENT, ONLYOFFICE_CONVERT } = TextTranslation;
|
||||||
const permission = dirent.permission;
|
const permission = dirent.permission;
|
||||||
const { isCustomPermission, customPermission } = Utils.getUserPermission(permission);
|
const { isCustomPermission, customPermission } = Utils.getUserPermission(permission);
|
||||||
|
|
||||||
@@ -600,7 +600,6 @@ export const Utils = {
|
|||||||
} else {
|
} else {
|
||||||
list.push(MARK_AS_DRAFT);
|
list.push(MARK_AS_DRAFT);
|
||||||
}
|
}
|
||||||
list.push(LIST_REVISIONS);
|
|
||||||
}
|
}
|
||||||
if (enableFileComment) {
|
if (enableFileComment) {
|
||||||
list.push(COMMENT);
|
list.push(COMMENT);
|
||||||
|
Reference in New Issue
Block a user