File tree 1 file changed +6
-1
lines changed
apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.deployments 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ import {
46
46
DeploymentListPresenter ,
47
47
} from "~/presenters/v3/DeploymentListPresenter.server" ;
48
48
import { requireUserId } from "~/services/session.server" ;
49
+ import { cn } from "~/utils/cn" ;
49
50
import {
50
51
ProjectParamSchema ,
51
52
docsPath ,
@@ -139,8 +140,12 @@ export default function Page() {
139
140
deployment ,
140
141
currentPage
141
142
) ;
143
+ const isSelected = deploymentParam === deployment . shortCode ;
142
144
return (
143
- < TableRow key = { deployment . id } className = "group" >
145
+ < TableRow
146
+ key = { deployment . id }
147
+ className = { cn ( "group" , isSelected ? "bg-grid-dimmed" : undefined ) }
148
+ >
144
149
< TableCell to = { path } >
145
150
< div className = "flex items-center gap-2" >
146
151
< Paragraph variant = "extra-small" > { deployment . shortCode } </ Paragraph >
You can’t perform that action at this time.
0 commit comments