Skip to content
Snippets Groups Projects
Commit 04917d05 authored by Alfredo Sumaran's avatar Alfredo Sumaran
Browse files

Do not send page param when loading sub groups

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