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 = { ...@@ -803,7 +803,7 @@ export const actions = {
do { do {
const optionsWithPages = { const optionsWithPages = {
...options, ...options,
'page[offset]': offset++, 'page[offset]': offset,
'page[limit]': limit, 'page[limit]': limit,
}; };
await dispatch( await dispatch(
...@@ -816,6 +816,7 @@ export const actions = { ...@@ -816,6 +816,7 @@ export const actions = {
}, },
{ root: true } { root: true }
); );
offset += limit;
} while (rootGetters[`${type}/all`].length < rootGetters[`${type}/lastMeta`].page.total); } 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.
Please register or to comment