1- import { formatDurationMilliseconds , MachinePresetName } from "@trigger.dev/core/v3" ;
21import type { OutputColumnMetadata } from "@internal/clickhouse" ;
3- import { DateTime , DateTimeAccurate } from "~/components/primitives/DateTime " ;
4- import { EnvironmentCombo } from "~/components/environments/EnvironmentLabel" ;
2+ import { formatDurationMilliseconds , MachinePresetName } from "@trigger.dev/core/v3 " ;
3+ import { EnvironmentLabel } from "~/components/environments/EnvironmentLabel" ;
54import { MachineLabelCombo } from "~/components/MachineLabelCombo" ;
5+ import { DateTimeAccurate } from "~/components/primitives/DateTime" ;
66import {
77 CopyableTableCell ,
88 Table ,
@@ -12,21 +12,20 @@ import {
1212 TableHeaderCell ,
1313 TableRow ,
1414} from "~/components/primitives/Table" ;
15- import { formatCurrencyAccurate , formatNumber } from "~/utils/numberFormatter" ;
1615import {
1716 descriptionForTaskRunStatus ,
1817 isRunFriendlyStatus ,
1918 isTaskRunStatus ,
2019 runStatusFromFriendlyTitle ,
2120 TaskRunStatusCombo ,
2221} from "~/components/runs/v3/TaskRunStatus" ;
22+ import { useOrganization } from "~/hooks/useOrganizations" ;
23+ import { useProject } from "~/hooks/useProject" ;
24+ import { formatCurrencyAccurate , formatNumber } from "~/utils/numberFormatter" ;
25+ import { v3ProjectPath , v3RunPathFromFriendlyId } from "~/utils/pathBuilder" ;
2326import { Paragraph } from "../primitives/Paragraph" ;
2427import { TextLink } from "../primitives/TextLink" ;
25- import { v3ProjectPath , v3RunPathFromFriendlyId } from "~/utils/pathBuilder" ;
2628import { SimpleTooltip } from "../primitives/Tooltip" ;
27- import { InformationCircleIcon } from "@heroicons/react/20/solid" ;
28- import { useOrganization } from "~/hooks/useOrganizations" ;
29- import { useProject } from "~/hooks/useProject" ;
3029import { QueueName } from "../runs/v3/QueueName" ;
3130
3231const MAX_STRING_DISPLAY_LENGTH = 64 ;
@@ -198,7 +197,7 @@ function CellValue({
198197 [ "PRODUCTION" , "STAGING" , "DEVELOPMENT" , "PREVIEW" ] . includes ( value )
199198 ) {
200199 return (
201- < EnvironmentCombo
200+ < EnvironmentLabel
202201 environment = { { type : value as "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW" } }
203202 />
204203 ) ;
@@ -342,7 +341,7 @@ function EnvironmentCellValue({ value }: { value: string }) {
342341 return < span > { value } </ span > ;
343342 }
344343
345- return < EnvironmentCombo environment = { environment } /> ;
344+ return < EnvironmentLabel environment = { environment } /> ;
346345}
347346
348347/**
0 commit comments