@@ -22,7 +22,7 @@ import {
2222} from "../primitives/Table" ;
2323import { SimpleTooltip } from "../primitives/Tooltip" ;
2424import { runStatusTitle } from "../runs/RunStatuses" ;
25- import { DeleteJobDialogContent } from "./DeleteJobModalContent" ;
25+ import { DeleteJobDialog , DeleteJobDialogContent } from "./DeleteJobModalContent" ;
2626import { JobStatusBadge } from "./JobStatusBadge" ;
2727
2828export function JobsTable ( { jobs, noResultsText } : { jobs : ProjectJob [ ] ; noResultsText : string } ) {
@@ -49,13 +49,13 @@ export function JobsTable({ jobs, noResultsText }: { jobs: ProjectJob[]; noResul
4949 < TableRow key = { job . id } className = "group" >
5050 < TableCell to = { path } >
5151 < span className = "flex items-center gap-2" >
52- < NamedIcon name = { job . event . icon } className = "w -8 h -8" />
52+ < NamedIcon name = { job . event . icon } className = "h -8 w -8" />
5353 < LabelValueStack
5454 label = { job . title }
5555 value = {
5656 job . dynamic ? (
5757 < span className = "flex items-center gap-0.5" >
58- < NamedIcon name = "dynamic" className = "w -4 h -4" /> { " " }
58+ < NamedIcon name = "dynamic" className = "h -4 w -4" /> { " " }
5959 < span className = "uppercase" > Dynamic:</ span > { job . event . title }
6060 </ span >
6161 ) : (
@@ -75,9 +75,9 @@ export function JobsTable({ jobs, noResultsText }: { jobs: ProjectJob[]; noResul
7575 key = { integration . key }
7676 button = {
7777 < div className = "relative" >
78- < NamedIcon name = { integration . icon } className = "w -6 h -6" />
78+ < NamedIcon name = { integration . icon } className = "h -6 w -6" />
7979 { integration . setupStatus === "MISSING_FIELDS" && (
80- < NamedIcon name = "error" className = "absolute w-4 h-4 - left-1 -top-1" />
80+ < NamedIcon name = "error" className = "absolute - left-1 -top-1 h-4 w-4 " />
8181 ) }
8282 </ div >
8383 }
@@ -165,12 +165,7 @@ export function JobsTable({ jobs, noResultsText }: { jobs: ProjectJob[]; noResul
165165 </ DialogTrigger >
166166 < DialogContent >
167167 < DialogHeader > Delete Job</ DialogHeader >
168- < DeleteJobDialogContent
169- id = { job . id }
170- title = { job . title }
171- slug = { job . slug }
172- environments = { job . environments }
173- />
168+ < DeleteJobDialog id = { job . id } title = { job . title } slug = { job . slug } />
174169 </ DialogContent >
175170 </ Dialog >
176171 </ TableCellMenu >
0 commit comments