Loading client/src/components/Collections/common/usePairingSummary.ts +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ export function usePairingSummary<T extends HasName>(props: PropsWithCollectionT const numMatchedText = `Auto-matched ${summary.pairs.length} pair(s) of datasets from target datasets.`; const numUnmatched = summary.unpaired.length; let numUnmatchedText = ""; if (numUnmatched > 0 && props.collectionType.endsWith("paired")) { if (numUnmatched > 0 && props.collectionType.endsWith(":paired")) { numUnmatchedText = `${numUnmatched} dataset(s) were not paired and will not be included in the resulting list of pairs.`; } else if (numUnmatched > 0) { numUnmatchedText = `${numUnmatched} dataset(s) were not paired and will be included in the resulting list as unpaired datasets.`; Loading Loading
client/src/components/Collections/common/usePairingSummary.ts +1 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ export function usePairingSummary<T extends HasName>(props: PropsWithCollectionT const numMatchedText = `Auto-matched ${summary.pairs.length} pair(s) of datasets from target datasets.`; const numUnmatched = summary.unpaired.length; let numUnmatchedText = ""; if (numUnmatched > 0 && props.collectionType.endsWith("paired")) { if (numUnmatched > 0 && props.collectionType.endsWith(":paired")) { numUnmatchedText = `${numUnmatched} dataset(s) were not paired and will not be included in the resulting list of pairs.`; } else if (numUnmatched > 0) { numUnmatchedText = `${numUnmatched} dataset(s) were not paired and will be included in the resulting list as unpaired datasets.`; Loading