@zeniai/client-epic-state 5.0.48-betaRD3 → 5.0.48-betaRD5

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.
@@ -41,6 +41,7 @@ export const toTransactionUpdatesFromTransactionCategorizationLocalData = (trans
41
41
  lineDescription: lineItem.lineDescription,
42
42
  class: lineItem.class,
43
43
  account: lineItem.account,
44
+ project: lineItem.project,
44
45
  recommendation: convertCOTRecommendationsToRegular(lineItem.recommendationsWithCOT),
45
46
  };
46
47
  if (line.type === 'journal_entry_transaction_line' ||
@@ -389,18 +389,10 @@ export const toSetAllLineItemsToCategoryClass = (draft, transaction, transaction
389
389
  selectedCheckBoxTransactionIds.push(transaction.id);
390
390
  }
391
391
  }
392
- if (selectedProjectBase != null &&
393
- updatedItem === 'project' &&
394
- record.project?.projectId == null) {
395
- record.project = selectedProjectBase;
396
- similarTransactionUpdated = true;
397
- if (record.account != null &&
398
- selectedCheckBoxTransactionIds.length < MAX_SELECTION_LIMIT &&
399
- selectedCheckBoxTransactionIds.includes(transaction.id) ===
400
- false) {
401
- selectedCheckBoxTransactionIds.push(transaction.id);
402
- }
403
- }
392
+ // Project intentionally does NOT propagate to other rows of
393
+ // the same vendor: each line can carry a different project,
394
+ // and auto-filling siblings (the way class does) leads to
395
+ // unexpected bulk selection.
404
396
  }
405
397
  }
406
398
  if (line.type === 'transaction_with_product_or_service_line') {