mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(site): display build logs on workspace transitioning statuses (#8397)
This commit is contained in:
@@ -281,3 +281,7 @@ const getPendingWorkspaceStatusText = (
|
||||
const LoadingIcon = () => {
|
||||
return <CircularProgress size={10} style={{ color: "#FFF" }} />
|
||||
}
|
||||
|
||||
export const hasJobError = (workspace: TypesGen.Workspace) => {
|
||||
return workspace.latest_build.job.error !== undefined
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user