feat(site): display build logs on workspace transitioning statuses (#8397)

This commit is contained in:
Bruno Quaresma
2023-07-10 17:47:39 -03:00
committed by GitHub
parent b7641b219e
commit d896b74fa2
20 changed files with 426 additions and 133 deletions
+4
View File
@@ -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
}