BigW Consortium Gitlab

Commit 04917d05 by Alfredo Sumaran

Do not send page param when loading sub groups

parent 1f0a785d
...@@ -13,10 +13,11 @@ export default class GroupsService { ...@@ -13,10 +13,11 @@ export default class GroupsService {
if (parentId) { if (parentId) {
data.parent_id = parentId; data.parent_id = parentId;
} } else {
// Do not send this param for sub groups
if (page) { if (page) {
data.page = page; data.page = page;
}
} }
return this.groups.get(data); return this.groups.get(data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment