From e75398ecb27458392981a0e87e471c73492b065d Mon Sep 17 00:00:00 2001 From: Adw8 Date: Wed, 30 Oct 2024 17:08:45 +0530 Subject: [PATCH] Display DNS deployment URLs in overview section --- .../frontend/src/pages/org-slug/projects/id/Overview.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/pages/org-slug/projects/id/Overview.tsx b/packages/frontend/src/pages/org-slug/projects/id/Overview.tsx index 8e840bb3..ab78cc11 100644 --- a/packages/frontend/src/pages/org-slug/projects/id/Overview.tsx +++ b/packages/frontend/src/pages/org-slug/projects/id/Overview.tsx @@ -180,14 +180,18 @@ const OverviewTabPanel = () => { {/* DEPLOYMENT */} }> + {project.deployments && + project.deployments.length > 0 && + project.deployments.map((deployment) => (
- + - {liveDomain?.name}{' '} + {`https://${project.name.toLowerCase()}.${deployment.deployer.baseDomain}`}
+ ))}
{/* DEPLOYMENT DATE */}