mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-22 20:08:19 +00:00
[my libs] Auto deletion: only enable it in Pro (#4789)
This commit is contained in:
@@ -68,7 +68,9 @@ class MylibRepoMenu extends React.Component {
|
|||||||
if (this.props.isPC && enableRepoSnapshotLabel) {
|
if (this.props.isPC && enableRepoSnapshotLabel) {
|
||||||
operations.push('Label Current State');
|
operations.push('Label Current State');
|
||||||
}
|
}
|
||||||
operations.push('Old Files Auto Delete');
|
if (isPro) {
|
||||||
|
operations.push('Old Files Auto Delete');
|
||||||
|
}
|
||||||
return operations;
|
return operations;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user