diff --git a/src/components/DeploymentsTable.tsx b/src/components/DeploymentsTable.tsx index bd697bd..a53af0a 100644 --- a/src/components/DeploymentsTable.tsx +++ b/src/components/DeploymentsTable.tsx @@ -175,12 +175,25 @@ export function DeploymentsTable({ deployments, isLoading, onRefresh }: Deployme id: 'actions', cell: ({ row }) => (
+ {row.original.application_fqdn && row.original.status === 'finished' && ( + e.stopPropagation()} + title="Open deployed site" + > + + + )} e.stopPropagation()} + title="View in Coolify" > diff --git a/src/lib/deployments.ts b/src/lib/deployments.ts index f4d691f..bba3b39 100644 --- a/src/lib/deployments.ts +++ b/src/lib/deployments.ts @@ -4,6 +4,7 @@ export interface Deployment { deployment_uuid: string; application_uuid: string; application_name: string; + application_fqdn?: string; // URL to deployed site status: DeploymentStatus; created_at: string; updated_at: string;