fix(contact-list): resolves an issue where website label was uneditable

This commit is contained in:
Amruth Pillai
2026-05-10 19:30:09 +02:00
parent 33103536ae
commit 56c9eb2ff4
20 changed files with 227 additions and 153 deletions
@@ -25,6 +25,7 @@ import { match } from "ts-pattern";
import { useRender } from "../../context";
import { getResumeSectionTitle } from "../../section-title";
import { getSectionItemRows, getSectionItemsLayout, shouldUseSectionTimeline } from "./columns";
import { getWebsiteDisplayText } from "./contact";
import {
TemplatePlacementProvider,
useTemplateFeature,
@@ -225,7 +226,7 @@ const ItemTitle = ({ children, website }: { children: ReactNode; website: ItemWe
const ItemWebsiteLink = ({ website }: { website: ItemWebsite }) => {
if (!shouldRenderSeparateItemWebsite(website)) return null;
return <Link src={website.url}>{website.label || website.url}</Link>;
return <Link src={website.url}>{getWebsiteDisplayText(website)}</Link>;
};
const SummarySection = ({ showHeading = true }: { showHeading?: boolean } = {}) => {