Pass front-end the api page limit with Jinja

This commit is contained in:
Nathan Barber
2021-05-19 10:01:00 -04:00
parent 21c14454cc
commit 5db40d096d
4 changed files with 6 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ export const initialState = {
user_page: 0,
groups_data: undefined,
groups_page: 0,
limit: 50,
limit: window.api_page_limit,
};
export const reducers = (state = initialState, action) => {