mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
Merge branch '7.0'
This commit is contained in:
@@ -54,7 +54,9 @@ class MainSideNav extends React.Component {
|
||||
|
||||
this.groupsHeight = (groupList.length + 1) * _this.listHeight;
|
||||
_this.setState({
|
||||
groupItems: groupList
|
||||
groupItems: groupList.sort((a, b) => {
|
||||
return a.name.toLowerCase() < b.name.toLowerCase() ? -1 : 1;
|
||||
})
|
||||
});
|
||||
}).catch(error => {
|
||||
let errMessage = Utils.getErrorMsg(error);
|
||||
|
Reference in New Issue
Block a user