mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 07:41:26 +00:00
improve list-group api (#2785)
This commit is contained in:
@@ -99,7 +99,7 @@ class GroupsView extends React.Component {
|
||||
}
|
||||
|
||||
listGroups = () => {
|
||||
seafileAPI.listGroupsV2({'with_repos': 1}).then((res) => { // TODO: api name
|
||||
seafileAPI.listGroups(true).then((res) => {
|
||||
// `{'with_repos': 1}`: list repos of every group
|
||||
// res: {data: [...], status: 200, statusText: "OK", headers: {…}, config: {…}, …}
|
||||
let groupList = res.data.map(item => {
|
||||
|
Reference in New Issue
Block a user