diff --git a/components/dashboard/src/start/StartWorkspace.tsx b/components/dashboard/src/start/StartWorkspace.tsx index ae54ed3643f79d..4c66263a64e6a4 100644 --- a/components/dashboard/src/start/StartWorkspace.tsx +++ b/components/dashboard/src/start/StartWorkspace.tsx @@ -252,7 +252,7 @@ export default class StartWorkspace extends React.Component; + return ; } if (!isHeadless && this.state.workspaceInstance.status.conditions.timeout) { title = 'Timed Out'; @@ -314,7 +314,7 @@ function PendingChangesDropdown(props: { workspaceInstance?: WorkspaceInstance } ; } -function ImageBuildView(props: { workspaceId: string, phase?: StartPhase }) { +function ImageBuildView(props: { workspaceId: string, phase?: StartPhase, error?: StartWorkspaceError }) { const logsEmitter = new EventEmitter(); useEffect(() => { @@ -339,7 +339,7 @@ function ImageBuildView(props: { workspaceId: string, phase?: StartPhase }) { return }> - + ; } diff --git a/components/dashboard/src/start/WorkspaceLogs.tsx b/components/dashboard/src/start/WorkspaceLogs.tsx index e0ca4b32c3512b..83fac2194580cd 100644 --- a/components/dashboard/src/start/WorkspaceLogs.tsx +++ b/components/dashboard/src/start/WorkspaceLogs.tsx @@ -13,6 +13,7 @@ import { DisposableCollection } from '@gitpod/gitpod-protocol'; export interface WorkspaceLogsProps { logsEmitter: EventEmitter; + errorMessage?: string; } export interface WorkspaceLogsState { @@ -34,9 +35,7 @@ export default class WorkspaceLogs extends React.Component