File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
packages/frontend/src/routes/alternatives/(components)/columns Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 11<script lang =" ts" >
22import type { Row } from ' /@/routes/alternatives/(components)/row' ;
33import LocalContainerNameColumn from ' $lib/columns/LocalContainerNameColumn.svelte' ;
4+ import { resolve } from ' $app/paths' ;
5+ import { IMAGE_QUERY_KEY } from ' /@/routes/images/[engineId]/[imageId]/report/constants' ;
46
57interface Props {
68 object: Row ;
@@ -10,15 +12,20 @@ let { object }: Props = $props();
1012 </script >
1113
1214{#if ' report' in object }
13- <div class =" flex items-center gap-2 w-full overflow-hidden" >
15+ <a
16+ href ={resolve (` /images/[engineId]/[imageId]/report?${IMAGE_QUERY_KEY }=${object .localImage .name } ` , {
17+ engineId: object .localImage .engineId ,
18+ imageId: object .localImage .id ,
19+ })}
20+ class =" flex items-center gap-2 w-full overflow-hidden" >
1421 <span class =" text-base" >
1522 {object .localImage .name }:{object .localImage .tag }
1623 </span >
1724 <span class =" text-[var(--pd-content-text)] opacity-30" >→</span >
1825 <span class =" text-base text-purple-400 overflow-hidden text-ellipsis" >
1926 quay.io/hummingbird/{object .alternative .name }
2027 </span >
21- </div >
28+ </a >
2229{:else }
2330 <LocalContainerNameColumn object ={object } />
2431{/if }
You can’t perform that action at this time.
0 commit comments