File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
packages/web/src/app/[domain]
settings/connections/components Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -64,14 +64,13 @@ const statusBadgeVariants = cva("", {
6464 IN_PROGRESS : "bg-primary text-primary-foreground hover:bg-primary/90" ,
6565 COMPLETED : "bg-green-600 text-white hover:bg-green-700" ,
6666 FAILED : "bg-destructive text-destructive-foreground hover:bg-destructive/90" ,
67- NO_JOBS : "bg-secondary text-secondary-foreground hover:bg-secondary/80" ,
6867 } ,
6968 } ,
7069} )
7170
7271const getStatusBadge = ( status : Repo [ "latestJobStatus" ] ) => {
7372 if ( ! status ) {
74- return < Badge className = { statusBadgeVariants ( { status : "NO_JOBS" } ) } > No Jobs </ Badge >
73+ return "-" ;
7574 }
7675
7776 const labels = {
Original file line number Diff line number Diff line change @@ -47,14 +47,13 @@ const statusBadgeVariants = cva("", {
4747 IN_PROGRESS : "bg-primary text-primary-foreground hover:bg-primary/90" ,
4848 COMPLETED : "bg-green-600 text-white hover:bg-green-700" ,
4949 FAILED : "bg-destructive text-destructive-foreground hover:bg-destructive/90" ,
50- NO_JOBS : "bg-secondary text-secondary-foreground hover:bg-secondary/80" ,
5150 } ,
5251 } ,
5352} )
5453
5554const getStatusBadge = ( status : Connection [ "latestJobStatus" ] ) => {
5655 if ( ! status ) {
57- return < Badge className = { statusBadgeVariants ( { status : "NO_JOBS" } ) } > No Jobs </ Badge >
56+ return "-" ;
5857 }
5958
6059 const labels = {
You can’t perform that action at this time.
0 commit comments