@zeniai/client-epic-state 4.16.13 → 4.16.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -346,9 +346,10 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
346
346
  },
347
347
  },
348
348
  fetchTransactionCategorizationSuccess(draft, action) {
349
- const { selectedTab } = action.payload;
349
+ const { selectedTab, refreshViewInBackground } = action.payload;
350
350
  if (draft.transactionCategorizationView[selectedTab].fetchState ===
351
- 'In-Progress') {
351
+ 'In-Progress' ||
352
+ refreshViewInBackground !== true) {
352
353
  draft.transactionCategorizationView[selectedTab].fetchState =
353
354
  'Completed';
354
355
  draft.transactionCategorizationView[selectedTab].error = undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.16.13",
3
+ "version": "4.16.14",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",