Unverified Commit 0bf37ec7 authored by John Chilton's avatar John Chilton Committed by GitHub
Browse files

Merge pull request #20458 from jmchilton/paired_unpaired_fix_1

[25.0] Bug fix: paired_or_unpaired also endswith paired.
parents 514c169e 33767876
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.`;