Commit 04917d05 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Do not send page param when loading sub groups

parent 1f0a785d
......@@ -13,11 +13,12 @@ export default class GroupsService {
if (parentId) {
data.parent_id = parentId;
}
} else {
// Do not send this param for sub groups
if (page) {
data.page = page;
}
}
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