diff --git a/src/components/Sites/routes/DomainManagement/components/DomainItem/DomainItem.tsx b/src/components/Sites/routes/DomainManagement/components/DomainItem/DomainItem.tsx index d6f06c65..04ac4eec 100644 --- a/src/components/Sites/routes/DomainManagement/components/DomainItem/DomainItem.tsx +++ b/src/components/Sites/routes/DomainManagement/components/DomainItem/DomainItem.tsx @@ -84,7 +84,9 @@ const DomainItem: React.FC = ({ orgId: selectedOrg?._id, name: editDomainName !== domain ? editDomainName : undefined, link: - deployedSite !== link && deployedSite !== "latest" + deployedSite === "latest" + ? (sortedDeployments || [{ sitePreview: undefined }])[0]?.sitePreview + : deployedSite !== link ? deployedSite : undefined, isLatest,