Skip to content
Snippets Groups Projects
Commit bb349cfd authored by Marcus Eibrink-Lunzenauer's avatar Marcus Eibrink-Lunzenauer Committed by Jan-Hendrik Willms
Browse files

Closes #427.

parent 63cf1bab
No related branches found
No related tags found
No related merge requests found
......@@ -803,7 +803,7 @@ export const actions = {
do {
const optionsWithPages = {
...options,
'page[offset]': offset++,
'page[offset]': offset,
'page[limit]': limit,
};
await dispatch(
......@@ -816,6 +816,7 @@ export const actions = {
},
{ root: true }
);
offset += limit;
} while (rootGetters[`${type}/all`].length < rootGetters[`${type}/lastMeta`].page.total);
},
......
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