1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 10:58:33 +00:00

[my libraries] updated operation menu of a library item (#5542)

This commit is contained in:
llj
2023-07-11 15:19:39 +08:00
committed by GitHub
parent b3c2ba6b21
commit 89ec70f61b

View File

@@ -83,10 +83,11 @@ class MylibRepoMenu extends React.Component {
operations.push(monitorOp);
}
operations.push('History Setting', 'API Token');
operations.push('API Token');
if (this.props.isPC && enableRepoSnapshotLabel) {
operations.push('Label Current State');
}
operations.push('Divider', 'History Setting');
if (enableRepoAutoDel) {
operations.push('Old Files Auto Delete');
}
@@ -142,7 +143,7 @@ class MylibRepoMenu extends React.Component {
translateResult = gettext('Share Links Admin');
break;
case 'Old Files Auto Delete':
translateResult = gettext('Auto deletion');
translateResult = gettext('Auto Deletion Setting');
break;
default:
break;