{/* sameAs Section - collapsed by default, only if candidates exist */}
{computed(() => {
if (!hasSameAsCandidates) return null;
const linkedName = sameAsDisplay;
// If linked, show compact display
if (linkedName) {
return (
Same as: {linkedName}
×
);
}
// If picker is open, show autocomplete
if (showPicker.get()) {
return (
);
}
// Collapsed: small link to expand
return (
Link to another contact...
);
})}