@zeniai/client-epic-state 4.19.24-betaAR2 → 4.19.24-betaAR3

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.

Potentially problematic release.


This version of @zeniai/client-epic-state might be problematic. Click here for more details.

@@ -159,7 +159,7 @@ function getExpenseAutomationView(state) {
159
159
  ]);
160
160
  return {
161
161
  jeSchedules,
162
- transactionView: expenseAutomationTransactionsView,
162
+ transactionView: expenseAutomationTransactionsView, //
163
163
  missingReceipts,
164
164
  reconciliation,
165
165
  currentSelectedViewFetchState,
@@ -217,6 +217,12 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
217
217
  if (uiState.searchString != null) {
218
218
  draft.transactionCategorizationView[selectedTab].uiState.searchString =
219
219
  uiState.searchString;
220
+ draft.transactionCategorizationView[selectedTab]
221
+ .transactionReviewLocalDataById = Object.fromEntries(Object.entries(draft.transactionCategorizationView[selectedTab]
222
+ .transactionReviewLocalDataById).filter(([, transactionLocalData]) => {
223
+ var _a, _b, _c;
224
+ return (_c = (_a = transactionLocalData === null || transactionLocalData === void 0 ? void 0 : transactionLocalData.transactionReviewLocalData.tabSpecificLineItems[selectedTab]) === null || _a === void 0 ? void 0 : _a.includes((_b = uiState.searchString) !== null && _b !== void 0 ? _b : '')) !== null && _c !== void 0 ? _c : false;
225
+ }));
220
226
  }
221
227
  if (uiState.scrollPosition != null) {
222
228
  draft.transactionCategorizationView[selectedTab].uiState.scrollPosition = uiState.scrollPosition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.19.24-betaAR2",
3
+ "version": "4.19.24-betaAR3",
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",