File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/web/src/app/[domain]/components/navigationMenu Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { Button } from "@/components/ui/button";
66import { Separator } from "@/components/ui/separator" ;
77import { Tooltip , TooltipContent , TooltipTrigger } from "@/components/ui/tooltip" ;
88import { useDomain } from "@/hooks/useDomain" ;
9+ import { SINGLE_TENANT_ORG_DOMAIN } from "@/lib/constants" ;
910import { RepositoryQuery } from "@/lib/types" ;
1011import { getCodeHostInfoForRepo , getShortenedNumberDisplayString } from "@/lib/utils" ;
1112import clsx from "clsx" ;
@@ -110,13 +111,14 @@ const RepoItem = ({ repo }: { repo: RepositoryQuery }) => {
110111
111112
112113 return (
113- < div
114+ < Link
114115 className = { clsx ( "flex flex-row items-center gap-2 border rounded-md p-2 text-clip" ) }
116+ href = { `/${ SINGLE_TENANT_ORG_DOMAIN } /repos/${ repo . repoId } ` }
115117 >
116118 { repoIcon }
117119 < span className = "text-sm truncate" >
118120 { displayName }
119121 </ span >
120- </ div >
122+ </ Link >
121123 )
122124}
You can’t perform that action at this time.
0 commit comments