mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 16:31:13 +00:00
Combine view mode (#2959)
This commit is contained in:
@@ -118,9 +118,7 @@ class Wiki extends Component {
|
||||
getGroupInfo = (groupID) => {
|
||||
seafileAPI.getGroup(groupID).then(res => {
|
||||
if (res.data.admins.indexOf(username) != -1) {
|
||||
this.setState({
|
||||
isDepartmentAdmin: true
|
||||
});
|
||||
this.setState({isDepartmentAdmin: true});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user