@zeniai/client-epic-state 4.13.75 → 4.13.77

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.
@@ -219,13 +219,7 @@ const expenseAutomationTransactionsView = (0, toolkit_1.createSlice)({
219
219
  const { vendorId, selectedAccount, selectedClassBase, transactions, transactionId, lineId, selectedTab, } = action.payload;
220
220
  const transactionLocalData = (0, get_1.default)(draft[selectedTab].transactionReviewLocalDataById, transactionId, undefined);
221
221
  if (transactionLocalData != null) {
222
- const newTransactionLocalData = Object.assign(Object.assign({}, transactionLocalData.transactionReviewLocalData), { lineItemById: Object.assign(Object.assign({}, transactionLocalData.transactionReviewLocalData.lineItemById), { [lineId]: Object.assign(Object.assign({}, transactionLocalData.transactionReviewLocalData.lineItemById[lineId]), { account: selectedAccount != null
223
- ? selectedAccount
224
- : transactionLocalData.transactionReviewLocalData
225
- .lineItemById[lineId].account, class: selectedClassBase != null
226
- ? selectedClassBase
227
- : transactionLocalData.transactionReviewLocalData
228
- .lineItemById[lineId].class }) }) });
222
+ const newTransactionLocalData = Object.assign(Object.assign({}, transactionLocalData.transactionReviewLocalData), { lineItemById: Object.assign(Object.assign({}, transactionLocalData.transactionReviewLocalData.lineItemById), { [lineId]: Object.assign(Object.assign({}, transactionLocalData.transactionReviewLocalData.lineItemById[lineId]), { account: selectedAccount, class: selectedClassBase }) }) });
229
223
  draft[selectedTab].transactionReviewLocalDataById[transactionId] = {
230
224
  transactionReviewLocalData: newTransactionLocalData,
231
225
  transactionId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.13.75",
3
+ "version": "4.13.77",
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",