Commit 8b787405 authored by Mike Greiling's avatar Mike Greiling

Remove superfluous code

parent 5b419345
......@@ -39,8 +39,6 @@ const groupsSelect = () => {
};
},
results(data, page) {
if (data.length) return { results: [] };
const groups = data.length ? data : data.results || [];
const more = data.pagination ? data.pagination.more : false;
const results = groups.filter((group) => skipGroups.indexOf(group.id) === -1);
......
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