1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 18:03:48 +00:00

only pro version has Institution feature (#6133)

This commit is contained in:
lian
2024-05-30 11:59:59 +08:00
committed by GitHub
parent 1997bc344e
commit b24f9dab93
4 changed files with 10 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import ReactDOM from 'react-dom';
import { Utils } from '../../utils/utils';
import { seafileAPI } from '../../utils/seafile-api';
import { siteRoot, gettext, appAvatarURL, enableSSOToThirdpartWebsite } from '../../utils/constants';
import { siteRoot, isPro, gettext, appAvatarURL, enableSSOToThirdpartWebsite } from '../../utils/constants';
import toaster from '../toast';
const {
@@ -131,7 +131,7 @@ class Account extends Component {
url: `${siteRoot}org/info/`,
text: gettext('Organization Admin')
};
} else if (isInstAdmin) {
} else if (isPro && isInstAdmin) {
data = {
url: `${siteRoot}inst/useradmin/`,
text: gettext('Institution Admin')