Changeset View
Changeset View
Standalone View
Standalone View
js_modules/dagit/packages/core/src/runs/RunUtils.tsx
Show First 20 Lines • Show All 234 Lines • ▼ Show 20 Lines | launchPipelineReexecution(executionParams: $executionParams) { | ||||
} | } | ||||
} | } | ||||
} | } | ||||
`; | `; | ||||
interface RunTimeProps { | interface RunTimeProps { | ||||
run: RunTimeFragment; | run: RunTimeFragment; | ||||
} | } | ||||
export const RunTime: React.FunctionComponent<RunTimeProps> = ({run}) => { | |||||
export const RunTime: React.FC<RunTimeProps> = ({run}) => { | |||||
const {stats, status} = run; | const {stats, status} = run; | ||||
if (stats.__typename !== 'PipelineRunStatsSnapshot') { | if (stats.__typename !== 'PipelineRunStatsSnapshot') { | ||||
return ( | return ( | ||||
<Popover content={<PythonErrorInfo error={stats} />}> | <Popover content={<PythonErrorInfo error={stats} />}> | ||||
<div> | <div> | ||||
<Icon icon="error" /> Failed to load times | <Icon icon="error" /> Failed to load times | ||||
</div> | </div> | ||||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |