🔧 Library page table pagination

This commit is contained in:
2022-10-27 23:06:40 -07:00
parent 63e96bf96e
commit ff5ce10e17
8 changed files with 309 additions and 180 deletions

View File

@@ -188,6 +188,7 @@ function fileOpsReducer(state = initialState, action) {
}
case SS_SEARCH_RESULTS_FETCHED: {
console.log(action.data);
return {
...state,
libraryComics: action.data,
@@ -196,7 +197,6 @@ function fileOpsReducer(state = initialState, action) {
}
case SS_SEARCH_RESULTS_FETCHED_SPECIAL: {
const foo = [];
console.log(action.data.hits)
if (!isUndefined(action.data.hits)) {
map(action.data.hits.hits, ({ _source }) => {
foo.push(_source);