mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-18 00:00:00 +00:00
fix org page warnings
This commit is contained in:
@@ -5,6 +5,8 @@ import { gettext, orgID } from '../../utils/constants';
|
||||
import { seafileAPI } from '../../utils/seafile-api';
|
||||
|
||||
const propTypes = {
|
||||
groupID: PropTypes.string,
|
||||
parentGroupID: PropTypes.string,
|
||||
toggle: PropTypes.func.isRequired,
|
||||
onDepartChanged: PropTypes.func.isRequired,
|
||||
};
|
||||
|
@@ -7,6 +7,7 @@ import UserSelect from '../user-select.js';
|
||||
|
||||
const propTypes = {
|
||||
toggle: PropTypes.func.isRequired,
|
||||
groupID: PropTypes.string.isRequired,
|
||||
onMemberChanged: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
|
@@ -6,6 +6,7 @@ import { seafileAPI } from '../../utils/seafile-api';
|
||||
|
||||
const propTypes = {
|
||||
toggle: PropTypes.func.isRequired,
|
||||
groupID: PropTypes.string.isRequired,
|
||||
onRepoChanged: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
|
@@ -7,6 +7,7 @@ import { Utils } from '../../utils/utils';
|
||||
|
||||
const propTypes = {
|
||||
groupName: PropTypes.string,
|
||||
groupID: PropTypes.number.isRequired,
|
||||
toggle: PropTypes.func.isRequired,
|
||||
onDepartChanged: PropTypes.func.isRequired
|
||||
};
|
||||
|
@@ -7,6 +7,7 @@ import { Utils } from '../../utils/utils';
|
||||
|
||||
const propTypes = {
|
||||
member: PropTypes.object.isRequired,
|
||||
groupID: PropTypes.string.isRequired,
|
||||
toggle: PropTypes.func.isRequired,
|
||||
onMemberChanged: PropTypes.func.isRequired
|
||||
};
|
||||
|
@@ -41,6 +41,7 @@ class DeleteRepoDialog extends React.Component {
|
||||
const propTypes = {
|
||||
repo: PropTypes.object.isRequired,
|
||||
toggle: PropTypes.func.isRequired,
|
||||
groupID: PropTypes.string.isRequired,
|
||||
onRepoChanged: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user