From 749db1818fabe4bd298bbfd21483b2d5e508c694 Mon Sep 17 00:00:00 2001 From: James Ritchie Date: Fri, 22 Nov 2024 17:58:33 +0000 Subject: [PATCH] Deploy page table rows stay selected when the side menu is open --- .../route.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.deployments/route.tsx b/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.deployments/route.tsx index 971e81aa7d..00b41bc728 100644 --- a/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.deployments/route.tsx +++ b/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.deployments/route.tsx @@ -46,6 +46,7 @@ import { DeploymentListPresenter, } from "~/presenters/v3/DeploymentListPresenter.server"; import { requireUserId } from "~/services/session.server"; +import { cn } from "~/utils/cn"; import { ProjectParamSchema, docsPath, @@ -139,8 +140,12 @@ export default function Page() { deployment, currentPage ); + const isSelected = deploymentParam === deployment.shortCode; return ( - +
{deployment.shortCode}