mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
feat: Pagination component.
This commit is contained in:
@@ -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,
|
||||
// }
|
||||
};
|
||||
Reference in New Issue
Block a user