From 4e24ee1863a9e49eb766a1692a4e805a4be636ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=9B=BD=E7=92=87?= <37972689+er-pai-r@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:24:59 +0800 Subject: [PATCH] feat: remove list sdoc revisions (#5565) --- frontend/src/utils/utils.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/utils/utils.js b/frontend/src/utils/utils.js index 2bc1f8d7bd..24c4348b73 100644 --- a/frontend/src/utils/utils.js +++ b/frontend/src/utils/utils.js @@ -527,7 +527,7 @@ export const Utils = { getFileOperationList: function(isRepoOwner, currentRepoInfo, dirent, isContextmenu) { let list = []; 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 { isCustomPermission, customPermission } = Utils.getUserPermission(permission); @@ -600,7 +600,6 @@ export const Utils = { } else { list.push(MARK_AS_DRAFT); } - list.push(LIST_REVISIONS); } if (enableFileComment) { list.push(COMMENT);