1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-22 11:57:34 +00:00

[my libs] Auto deletion: only enable it in Pro (#4789)

This commit is contained in:
llj
2021-01-14 11:17:35 +08:00
committed by GitHub
parent d7ecd2f09e
commit 78008faee8

View File

@@ -68,7 +68,9 @@ class MylibRepoMenu extends React.Component {
if (this.props.isPC && enableRepoSnapshotLabel) {
operations.push('Label Current State');
}
operations.push('Old Files Auto Delete');
if (isPro) {
operations.push('Old Files Auto Delete');
}
return operations;
}