@zeniai/client-epic-state 4.19.86-betaRD8 → 4.19.86-betaRD9

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.

@@ -228,9 +228,10 @@ const getBasicVendorDetailsForNewVendor = (state, newVendor) => {
228
228
  };
229
229
  export const getVendorDetailPageView = (state, vendorId, entity) => {
230
230
  const trendWithTransactions = getTrendWithTransactions(state, entity, 'EntityDetail');
231
+ const isAccountingClassesEnabled = getIsAccountingClassesEnabled(state);
231
232
  const reducedFetchState = reduceAnyFetchState([
232
233
  state.accountListState.byReportId.accountList,
233
- state.classListState,
234
+ ...(isAccountingClassesEnabled ? [state.classListState] : []),
234
235
  state.vendorTypeListState,
235
236
  state.ownerListState,
236
237
  state.vendorViewState.editVendorStateById[vendorId]?.fetchStatus ?? {