File tree 1 file changed +3
-2
lines changed
components/dashboard/src/projects
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import { getGitpodService } from "../service/service";
20
20
import { TeamsContext , getCurrentTeam } from "../teams/teams-context" ;
21
21
import { ContextMenuEntry } from "../components/ContextMenu" ;
22
22
import { shortCommitMessage } from "./render-utils" ;
23
+ import { Link } from "react-router-dom" ;
23
24
24
25
export default function ( ) {
25
26
const location = useLocation ( ) ;
@@ -170,13 +171,13 @@ export default function () {
170
171
</ Item >
171
172
{ prebuilds . filter ( filter ) . sort ( prebuildSorter ) . map ( ( p , index ) => < Item key = { `prebuild-${ p . info . id } ` } className = "grid grid-cols-3" >
172
173
< ItemField className = "flex items-center" >
173
- < a href = { `/${ ! ! team ? 't/' + team . slug : 'projects' } /${ projectName } /${ p . info . id } ` } className = "cursor-pointer" >
174
+ < Link to = { `/${ ! ! team ? 't/' + team . slug : 'projects' } /${ projectName } /${ p . info . id } ` } className = "cursor-pointer" >
174
175
< div className = "text-base text-gray-900 dark:text-gray-50 font-medium uppercase mb-1" >
175
176
< div className = "inline-block align-text-bottom mr-2 w-4 h-4" > { prebuildStatusIcon ( p ) } </ div >
176
177
{ prebuildStatusLabel ( p ) }
177
178
</ div >
178
179
< p > { p . info . startedByAvatar && < img className = "rounded-full w-4 h-4 inline-block align-text-bottom mr-2" src = { p . info . startedByAvatar || '' } alt = { p . info . startedBy } /> } Triggered { formatDate ( p . info . startedAt ) } </ p >
179
- </ a >
180
+ </ Link >
180
181
</ ItemField >
181
182
< ItemField className = "flex items-center" >
182
183
< div >
You can’t perform that action at this time.
0 commit comments