feat: Pagination component.

This commit is contained in:
Ahmed Bouhuolia
2020-06-21 19:21:27 +02:00
parent 3e15cd42c8
commit 15bcd55979
19 changed files with 668 additions and 167 deletions

View File

@@ -7,7 +7,10 @@ const initialState = {
views: {},
accountsTypes: [],
accountsById: {},
tableQuery: {},
tableQuery: {
pageSize: 2,
page: 1,
},
currentViewId: -1,
selectedRows: [],
loading: false,
@@ -90,9 +93,4 @@ export default createTableQueryReducers('accounts', accountsReducer);
export const getAccountById = (state, id) => {
return state.accounts.accountsById[id];
};
// export default {
// // ...accountsReducer,
// // testReducer,
// }
};