diff --git a/frontend/src/pages/sys-admin/groups/groups-content.js b/frontend/src/pages/sys-admin/groups/groups-content.js index 5b7e1005229..943e81125f8 100644 --- a/frontend/src/pages/sys-admin/groups/groups-content.js +++ b/frontend/src/pages/sys-admin/groups/groups-content.js @@ -4,7 +4,7 @@ import { Link } from '@gatsbyjs/reach-router'; import dayjs from 'dayjs'; import relativeTime from 'dayjs/plugin/relativeTime'; import { Utils } from '../../../utils/utils'; -import { siteRoot, gettext } from '../../../utils/constants'; +import { siteRoot, gettext, isPro } from '../../../utils/constants'; import Loading from '../../../components/loading'; import EmptyTip from '../../../components/empty-tip'; import Paginator from '../../../components/paginator'; @@ -224,6 +224,13 @@ class Item extends Component { `${siteRoot}sys/groups/${item.id}/libraries/` : `${siteRoot}sys/departments/${item.id}/`; + let operations = []; + if (isPro) { + operations = ['Delete', 'Transfer', 'Change']; + } else { + operations = ['Delete', 'Transfer']; + } + return ( @@ -240,7 +247,7 @@ class Item extends Component { {(isOpIconShown && item.owner != 'system admin') &&