Skip to content

Commit

Permalink
feat: remove list sdoc revisions (#5565)
Browse files Browse the repository at this point in the history
  • Loading branch information
YangGuoXuan-0503 authored Aug 1, 2023
1 parent 732301d commit 4e24ee1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -600,7 +600,6 @@ export const Utils = {
} else {
list.push(MARK_AS_DRAFT);
}
list.push(LIST_REVISIONS);
}
if (enableFileComment) {
list.push(COMMENT);
Expand Down

0 comments on commit 4e24ee1

Please sign in to comment.