mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 02:48:51 +00:00
[my libraries] updated operation menu of a library item (#5542)
This commit is contained in:
@@ -83,10 +83,11 @@ class MylibRepoMenu extends React.Component {
|
|||||||
operations.push(monitorOp);
|
operations.push(monitorOp);
|
||||||
}
|
}
|
||||||
|
|
||||||
operations.push('History Setting', 'API Token');
|
operations.push('API Token');
|
||||||
if (this.props.isPC && enableRepoSnapshotLabel) {
|
if (this.props.isPC && enableRepoSnapshotLabel) {
|
||||||
operations.push('Label Current State');
|
operations.push('Label Current State');
|
||||||
}
|
}
|
||||||
|
operations.push('Divider', 'History Setting');
|
||||||
if (enableRepoAutoDel) {
|
if (enableRepoAutoDel) {
|
||||||
operations.push('Old Files Auto Delete');
|
operations.push('Old Files Auto Delete');
|
||||||
}
|
}
|
||||||
@@ -142,7 +143,7 @@ class MylibRepoMenu extends React.Component {
|
|||||||
translateResult = gettext('Share Links Admin');
|
translateResult = gettext('Share Links Admin');
|
||||||
break;
|
break;
|
||||||
case 'Old Files Auto Delete':
|
case 'Old Files Auto Delete':
|
||||||
translateResult = gettext('Auto deletion');
|
translateResult = gettext('Auto Deletion Setting');
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user