mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
add notification (#2353)
This commit is contained in:
@@ -32,7 +32,7 @@ class MainSideNav extends React.Component {
|
||||
|
||||
loadGroups = () => {
|
||||
let _this = this;
|
||||
this.props.seafileAPI.getGroups().then(res =>{
|
||||
this.props.seafileAPI.listGroups().then(res =>{
|
||||
let data = res.data.groups;
|
||||
this.groupsHeight = (data.length + 1) * _this.listHeight;
|
||||
_this.setState({
|
||||
|
Reference in New Issue
Block a user