diff --git a/widget-src/components/log/AddLink.tsx b/widget-src/components/log/AddLink.tsx index ad5ae64..84cfacb 100644 --- a/widget-src/components/log/AddLink.tsx +++ b/widget-src/components/log/AddLink.tsx @@ -13,7 +13,7 @@ interface AddLinkProps { export const AddLink = ({ changeLog, updateChangeState }: AddLinkProps) => { return ( - {changeLog.links && changeLog.links.length > 7 ? ( + {(changeLog.links?.length || 0) + (changeLog.state?.updates?.links?.length || 0) > 7 ? (