Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-20 00:11:54 +00:00
co-authored by renee-png
parent ade0d57bfb
commit bbfd11c55a
@@ -72,6 +72,9 @@ export function BulkConvertToCollectionsDialog({ open, onOpenChange, cases, onCr
const [selected, setSelected] = useState<Set<string>>(new Set());
const [includeEmpty, setIncludeEmpty] = useState(false);
const [emptyName, setEmptyName] = useState("");
// When true (default), create ONE combined collection per case using the
// first selected contact on that case as the primary homeowner.
const [combine, setCombine] = useState(true);
const { eligibleCases, skippedCases, clientId } = useMemo(() => {
const counts = new Map<string, number>();