From 4982f7e7ca8e40694be0e588db6035912b568b2d Mon Sep 17 00:00:00 2001 From: be5invis Date: Sat, 21 Sep 2024 15:21:01 -0700 Subject: [PATCH] Hide CV series with only one variant (#2510) --- pages/specimen.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/specimen.tsx b/pages/specimen.tsx index 93d3fa55c8..078f70f099 100644 --- a/pages/specimen.tsx +++ b/pages/specimen.tsx @@ -534,6 +534,7 @@ function CharVariantsImpl(props: SpecimenCharacterProps) { const rows = [...typographicFeatures, ...charFeatures]; for (let iGroup = 0; iGroup < rows.length; iGroup++) { const fs = queryCvList(ctx.val.atlas, rows[iGroup]); + if (fs.size <= 1) continue; const subgroups: JSX.Element[] = []; for (let iSubgroup = 0; iSubgroup < fs.groups.length; iSubgroup++) {