Merge pull request #4583 from TpmyCT/fix/deployments-open-tab

fix: open deployments tab when opening a service from the deployments list
This commit is contained in:
Narciso E. Núñez Arias
2026-08-13 11:19:58 -04:00
committed by GitHub
@@ -78,7 +78,7 @@ function getServiceInfo(d: DeploymentRow) {
projectName: app.environment.project.name,
environmentName: app.environment.name,
serviceId: app.applicationId,
href: `/dashboard/project/${app.environment.project.projectId}/environment/${app.environment.environmentId}/services/application/${app.applicationId}`,
href: `/dashboard/project/${app.environment.project.projectId}/environment/${app.environment.environmentId}/services/application/${app.applicationId}?tab=deployments`,
};
}
if (comp?.environment?.project && comp.environment) {
@@ -91,7 +91,7 @@ function getServiceInfo(d: DeploymentRow) {
projectName: comp.environment.project.name,
environmentName: comp.environment.name,
serviceId: comp.composeId,
href: `/dashboard/project/${comp.environment.project.projectId}/environment/${comp.environment.environmentId}/services/compose/${comp.composeId}`,
href: `/dashboard/project/${comp.environment.project.projectId}/environment/${comp.environment.environmentId}/services/compose/${comp.composeId}?tab=deployments`,
};
}
return null;