Skip to content

Commit

Permalink
chore: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
akashgp09 committed Aug 9, 2021
1 parent 368f4ae commit f312fd6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type Props = StateProps & DispatchProps & OwnProps;
* @param {Object} props - The properties passed to the component.
* @param {number} props.orderTypeValue - The order type currently selected for
* the series.
* @param {string} props.seriesTypeValue - The entity type currently selected for
* @param {string} props.seriesTypeValue - The entity type currently selected for
* the series.
* @param {Array} props.mergingEntities - The list of entities being merged
* @param {Function} props.onOrderTypeChange - A function to be called when
Expand Down Expand Up @@ -85,8 +85,8 @@ function SeriesSectionMerge({
}
relationships.push(...entity.relationships);
});
// Filter out series items from relationships

// Filter out series items from relationships
const seriesItems = relationships.filter((relationship) => relationship.typeId > 69 && relationship.typeId < 75);
const formattedSeriesItems = seriesItems.map((item) => (
{...item.source, displayNumber: true,
Expand Down

0 comments on commit f312fd6

Please sign in to comment.