Skip to content

Commit 0795329

Browse files
committed
fix: open deployments tab when opening a service from the deployments list
1 parent 1f4f940 commit 0795329

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/dokploy/components/dashboard/deployments/show-deployments-table.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function getServiceInfo(d: DeploymentRow) {
7676
projectName: app.environment.project.name,
7777
environmentName: app.environment.name,
7878
serviceId: app.applicationId,
79-
href: `/dashboard/project/${app.environment.project.projectId}/environment/${app.environment.environmentId}/services/application/${app.applicationId}`,
79+
href: `/dashboard/project/${app.environment.project.projectId}/environment/${app.environment.environmentId}/services/application/${app.applicationId}?tab=deployments`,
8080
};
8181
}
8282
if (comp?.environment?.project && comp.environment) {
@@ -88,7 +88,7 @@ function getServiceInfo(d: DeploymentRow) {
8888
projectName: comp.environment.project.name,
8989
environmentName: comp.environment.name,
9090
serviceId: comp.composeId,
91-
href: `/dashboard/project/${comp.environment.project.projectId}/environment/${comp.environment.environmentId}/services/compose/${comp.composeId}`,
91+
href: `/dashboard/project/${comp.environment.project.projectId}/environment/${comp.environment.environmentId}/services/compose/${comp.composeId}?tab=deployments`,
9292
};
9393
}
9494
return null;

0 commit comments

Comments
 (0)