🔢 Removed the useless LS_IMPORT event

This commit is contained in:
2023-08-27 20:25:38 -04:00
parent ffa1b0cc09
commit 75777d32dd
4 changed files with 35 additions and 4 deletions

View File

@@ -33,6 +33,7 @@ import {
LS_IMPORT_QUEUE_DRAINED,
LS_SET_QUEUE_STATUS,
RESTORE_JOB_COUNTS_AFTER_SESSION_RESTORATION,
IMPORT_JOB_RESULTS_RETRIEVED,
} from "../constants/action-types";
import { removeLeadingPeriod } from "../shared/utils/formatting.utils";
import { LIBRARY_SERVICE_HOST } from "../constants/endpoints";
@@ -62,6 +63,7 @@ const initialState = {
lastQueueJob: "",
successfulJobCount: 0,
failedJobCount: 0,
importJobStatistics: [],
libraryQueueResults: [],
librarySearchError: {},
libraryServiceStatus: {},
@@ -230,6 +232,11 @@ function fileOpsReducer(state = initialState, action) {
};
}
}
case IMPORT_JOB_RESULTS_RETRIEVED: {
return {
...state,
};
}
case LS_COMIC_ADDED: {
return {
...state,